Displaying 3 results from an estimated 3 matches for "glmmodel".
Did you mean:
lmmodel
2006 Oct 12
1
R not responding for nested glm model
Hi,
I'm trying to perform a glm model on count data (poisson distribution of
the errors) where data are nested.
glmmodel<-glm(y~x/z,poisson)
x and z are factors, z nested within x, y is count data.
In that point the R just "stuck" and not respond anymore. I tried
glmmodel<-glm(y~x,poisson)
and there were no problems. Trying
glmmodel<-glm(y~x/z)
gave the same no response. Similar problem with contin...
2013 Feb 07
4
Sourcing my file does not print command outputs
I looked at the documentation of source() and summary(), and I could not
find the reason why calling something like:
> summary(resamps)
from the command line, works (it prints the summary)
whereas calling
summary(resampls)
from a file that I source with source("my_file.r") does not print anything.
How can I get summary(resamps) to print when I source a file with this
command?
2013 Feb 07
0
FW: Sourcing my file does not print command outputs
...ple(Y,times = 25)
myCtrl <- trainControl(method = "boot", index = tmp, timingSamps = 10)
RFmodel <- train(X,Y,method='rf',trControl=myCtrl,tuneLength=1)
NNmodel <- train(X,Y,method='nnet',trControl=myCtrl,tuneLength=3, trace = FALSE)
## GLMnet = GLMmodel,
...
#Assess re-sampled (out of sample) accuracy
print("Assessing re-sampled (OOB) accuracy")
resamps <- resamples(
list( RF = RFmodel,
NN = NNmodel
))
print("Summarizing resamps")
summary(resamps)
dotplot(resamps, metric = "A...