search for: cv18

Displaying 1 result from an estimated 1 matches for "cv18".

Did you mean: cc18
2011 Jul 22
1
cv.glm and "longer object length is not a multiple of shorter object length" error
...and now want to do cross-validation on 2 of them. Please be gentle-- I'm new to R (and statistics, too, for that matter). Any help is greatly appreciated. Here's my code: /library(boot) n<-length(total_species) cv13.err<- cv.glm(nests,glm13) cv13.err.5<- cv.glm(nests,glm13,K=5) cv18.err<- cv.glm(nests,glm18) cv18.err.5<- cv.glm(nests,glm18,K=5)/ I get errors starting with the glm18 part. glm13 is *total_species~RH+elev+RH*elev* and glm18 is *total_species~per_cover+RH* Does it have something to do with the two glms having different numbers of parameters? I'm not...