Skip to content
Prev 13093 / 20628 Next

Error fitting reduced model in bglmer for LRT

Thanks Vince.
So should I just use the Wald-Z output instead then? Or another method of
inference? Any ideas which is best in this situation?

The code for the temp fix didn't work for me (see below).  But that may not
be important if I use another method of inference...

Cheers,
Josie
getOption("digits"), ...) {
+   scaleString <- ""
+   scale <- crossprod(solve(x at R.scale.inv))
Error: unexpected symbol in:
"  scaleString <- ""
  scale <- crossprod(solve(x at"
+     scaleString <- paste("scale = c(", toString(round(scale[1:4],
digits)), ", ...)", sep = "")
+   } else if (nrow(scale) == 2) {
+     scaleString <- paste("scale = c(", toString(round(scale[1:4],
digits)), ")", sep = "")
+   } else {
+     scaleString <- paste("scale = ", toString(round(scale[1], digits)),
sep = "")
+   }
Error in if (nrow(scale) > 2) { : argument is of length zero
Error: unexpected symbol in "  paste("t(df = ", x at"
Error: unexpected ',' in "        ", common.scale = ","
Error: unexpected ',' in "        ")","
Error: unexpected '}' in "}"
Date: Tue, 10 Mar 2015 13:23:22 -0400
*Josie Galbraith* MSc (hons)

PhD candidate
*University of Auckland *
Joint Graduate School in Biodiversity and Biosecurity ? School of
Biological Sciences ? Tamaki Campus ? Private Bag 92019 ? Auckland 1142* ?
P:* 09-373 7599 ext. 83132* ? E:* josie.galbraith at gmail.com* ? W: * UoA Web
Profile <https://unidirectory.auckland.ac.nz/profile/jgal026> and
*www.birdfeedingnz.weebly.com/* <http://birdfeedingnz.weebly.com/>