Displaying 2 results from an estimated 2 matches for "tstnum".
Did you mean:
testnum
2008 Jul 28
1
Mixed model question.
...head
around that, move on to the two reduced models. I.e. I'd like to
reproduce my simple-minded computations using lmer() --- which would
give me a little bit of confidence that I'm driving lmer() correctly.
*Can* the trivial model be fitted in lmer()? I tried using
fit <- lmer(y ~ tstnum + (1|stdnt), data=schooldat)
and got estimates of the coefficients for tstnum as follows:
Fixed effects:
Estimate Std. Error t value
(Intercept) 3.22917 0.09743 33.14
tstnum2 0.46667 0.08461 5.52
tstnum3 0.50000 0.08461 5.91
tstnum4 0.83750 0.08461...
2023 Feb 11
1
scan(..., skip=1e11): infinite loop; cannot interrupt
...e. It's
file type "Mork", which is mostly standard characters with "\n" between
records of varying length.
Is there some other function in R that allows me to read chunks of a
large file like this?
Thanks,
Spencer Graves
writeLines(as.character(1:11), 'tstNums.txt')
(Tst2 <- scan('tstNums.txt', n=12, skip=5))
# works: 6 7 8 9 10 11
(Tst13 <- scan('tstNums.txt', n=12, skip=13))
# works: numeric(0)
(tst1e11 <- scan('tst.txt', n=12, skip=1e11))
# Goes into an infinite loop that I cannot even interrupt.
# I must kill R a...