[R] Odd error from mvrnorm?

2014-10-09 Thread John Hodgson
suggest a line of attack? Thanks John Hodgson __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] Subsetting a named list of parameters in mle

2014-02-15 Thread John Hodgson
r in fit[i] = mle(mll, start = pars[c(1, i)], fixed = pars[-c(1, i)], : incompatible types (from S4 to integer) in subassignment type fix What have I missed? Thanks for any suggestions John Hodgson [[alternative HTML version deleted]] _

[R] Factor moderators in metafor

2012-08-09 Thread John Hodgson
I'm puzzled by the behaviour of factors in rma models, see example and comments below. I'm sure there's a simple explanation but can't see it... Thanks for any input John Hodgson - code/selected output - library(metafor

Re: [R] Factor moderators in metafor

2012-08-09 Thread John Hodgson
-- > Wolfgang Viechtbauer, Ph.D., Statistician > Department of Psychiatry and Psychology > School for Mental Health and Neuroscience > Faculty of Health, Medicine, and Life Sciences > Maastricht University, P.O. Box 616 (VIJV1) > 6200 MD Maastricht, The Netherlands > +31 (43)

[R] Error in metafor documentation on maximum iterations

2012-08-15 Thread John Hodgson
nt concerning an (I guess) infrequently used bit of functionality, but this may help save someone an hour or so's head scratching! John Hodgson __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting