[R] predicted values from cv.glm

Jeffrey Stratford stratja at auburn.edu
Mon Nov 21 16:50:29 CET 2005

Hi folks,

Is there a way to get the predicted values from leave-one-out cross
validation using cv.glm?   More generally, is there a way to see what
output is available with any function that may not show up using the
help() function?

Below is the code that I've been using:

SRCOUNT <- read.table(file.choose(),header=T)  
q_u2 <- glm.nb(res_est ~ U2 + I(U2^2), SRCOUNT, link = log)
cv.qu2<- cv.glm(SRCOUNT,qu2)

Many thanks,


Jeffrey A. Stratford, Ph.D.
Postdoctoral Associate
331 Funchess Hall
Department of Biological Sciences
Auburn University
Auburn, AL 36849
FAX 334-844-9234

More information about the R-help mailing list