beckyfisher / FSSgam

Code for full subsets model fitting using GA(M)M
16 stars 14 forks source link

Error: Must use a vector in `[`, not an object of class matrix. #6

Closed MaryWakeford closed 5 years ago

MaryWakeford commented 5 years ago

Running the code generate.model.set returns the above error message

beckyfisher commented 5 years ago

Hi Mary, thanks for letting me know. I investigated the issue and it appears to be related in this instance to differences indexing a tibble versus data.frame for some of the predictors. At this stage please only use data.frame objects for the argument use.dat