Displaying 1 result from an estimated 1 matches for "minhsiung".
2006 Mar 03
1
extracting p-values from lmer outputs
...lmer is a list of length 0.
My "brilliant" idea, shown below, is to divert the display to
a file, then read the file as a string. I guess it's useful
to save the full summary somewhere, but is there really
no more elegant way to do this?
- James Myers
National Chung Cheng University
Minhsiung Chiayi 621 Taiwan
lmerout = lmer(Y ~ X1 * X2 + (1|Subj), data = dat, family = "binomial")
sink("lmerout.txt")
lmerout
sink()
lmerout.string = readChar("lmerout.txt",20000)
splitstring = strsplit(lmerout.string,"\r\n")
# If I counted right, the line with the...