nobs.rma <- function(object, ...) {
mstyle <- .get.mstyle()
.chkclass(class(object), must="rma")
n.obs <- object$k.eff - ifelse(object$method == "REML", 1, 0) * object$p.eff
return(n.obs)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.