search for: modeldf

Displaying 2 results from an estimated 2 matches for "modeldf".

2009 Nov 19
1
Splitting massive output into multiple text files
...that has worked. However, since a text file will not handle 4 million blocks in a single file (which is what I ultimately need to do), is there a way to tell R to create a new file for every 10 or so columns? I tried to use some suggested code that looked like: for (j in 1:426) { write(cbind(modeldf[,j:(j+9)]),file=as.character(j)) j <- j+10 } ..but can't figure out how to put it into my own code and make it work. I did find one example of code for split files, each successive file being labeled as a series of numbers, but I couldn't figure out how to even adapt that to my mode...
2009 Nov 19
0
Printing labeled summary to text file ?
Dear List, I am trying to run a mixed model which, on the R console, prints output as follows: [1] "Marker" [1] "perm no." [1] NA Linear mixed model fit by REML Formula: peg.no.prm ~ 1 + (1 | family/f) Data: modeldf AIC BIC logLik deviance REMLdev 3119 3134 -1555 3112 3111 Random effects: Groups Name Variance Std.Dev. f:family (Intercept) 0.0 0.000 family (Intercept) 0.0 0.000 Residual 178.5 13.360 Number of obs: 388, groups: f:family, 73; family, 60 Here...