[R-sig-eco] K-fold validation for glmer model
Samhita Bose (SCIFAC-Biological Sciences)
Samhita.bose at vuw.ac.nz
Tue May 3 03:58:36 CEST 2016
Hi,
I am trying to see resource selection in black tailed deer across seasons and activity state. I am fairly new to R and have used glmer function from lme4 to fit my data. I have used physical variables (elevation, aspect and ruggedness) and vegetation classes as fixed effect and individual deer as random effect in my model. Now I want to validate my model to test the robustness of my assumptions. I have tried using package caret but it is not supporting glmer model. Is there any R code to conduct a k fold cross validation of a glmer model? Any help will be appreciated.
Thanks,
Samhita
Samhita Bose
PhD Student
School of Biological Sciences
New Kirk Building, Kelburn Parade
Victoria University of Wellington
Work: +64-4-463-8554 Cell: +64-22-389-3800
[[alternative HTML version deleted]]
More information about the R-sig-ecology
mailing list