Who said the variables were all in the data frame? See this
All the variables in 'formula', 'subset' and in '...' are looked
for first in 'data' and then in the environment of 'formula' (see
the help for 'formula()' for further details) and collected into a
data frame.
Now y
> I have problems with the usage of cv.glm from the boot package. Here are some
> parts of the script I wanted to use:
>
> data <- read.table("selected_2D.csv", header=TRUE, sep=",")
> …
> glm.fitted <- glm("ydata$ y ~ 1 + density + vsurf_ID6 + vsurf_S ", data=data)
> error <- cv.glm(data=data, g
Dear list members.
I have problems with the usage of cv.glm from the boot package. Here are some
parts of the script I wanted to use:
data <- read.table("selected_2D.csv", header=TRUE, sep=",")
…
glm.fitted <- glm("ydata$ y ~ 1 + density + vsurf_ID6 + vsurf_S ", data=data)
error <- cv.glm(data
3 matches
Mail list logo