Closed sponslerdb closed 2 years ago
An update: when I use the option fullModelOnly = TRUE
, the command runs fine. So the problem must lie somewhere in the matrix permutation.
Latest version of package fixes this issue while providing a much faster implementation of gdm.varImp.
This works fine:
gdm.varImp_WN <- gdm.varImp(sitepair_WN, geo = FALSE)
This breaks in a puzzling way.
gdm.varImp_WN <- gdm.varImp(sitepair_WN, geo = FALSE, splines = c(6, 6, 6, 6, 6))
One might think that shortening the
splines
argument by one item would satisfy it:gdm.varImp_WN <- gdm.varImp(sitepair_WN, geo = FALSE, splines = c(6, 6, 6, 6))
. . . but it is fickle. Now it wants the 5th item back.