I need an alternative to fifer to do this:
data_train<-fifer::stratified(data, c("spi"), 0.7)
I tried fifer because a year ago