Skip to content

Commit

Permalink
Minor adjustments to help files. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
wviechtb committed Feb 18, 2017
1 parent f40af3b commit 16fd1a9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion R/confint.rma.uni.r
Expand Up @@ -7,7 +7,7 @@
### if method='SJ': method by Sidik & Jonkman (2005) (but this performs poorly, except if tau^2 is very large)
### if method='HS': not sure since this is an ad-hoc estimator with no obvious underlying statistical principle
### Also could in principle compute Wald-type CIs (but those perform poorly except when k is very large).
### But it may be a bit late to change how the function works (right now, type=GENQ if method="GENQ" and type=QP otherwise).
### But it may be a bit late to change how the function works (right now, type="GENQ" if method="GENQ" and type="QP" otherwise).

confint.rma.uni <- function(object, parm, level, fixed=FALSE, random=TRUE, digits, transf, targs, verbose=FALSE, control, ...) {

Expand Down
2 changes: 1 addition & 1 deletion R/plot.profile.rma.r
Expand Up @@ -24,7 +24,7 @@ plot.profile.rma <- function(x, ylim, pch=19, ...) {
plot(x[[1]], x[[2]], type="o", xlab=x$xlab, ylab=paste(ifelse(x$method=="REML", "Restricted", ""), " Log-Likelihood", sep=""), main=x$title, bty="l", pch=pch, ylim=ylim, ...)
abline(v=x$vc, lty="dotted")
abline(h=x$maxll, lty="dotted")
#abline(h=max(lls, na.rm=TRUE), lty="dotted")
#abline(h=x$maxll - qchisq(.95, df=1)/2, lty="dotted")

} else {

Expand Down
8 changes: 4 additions & 4 deletions man/fitstats.Rd
Expand Up @@ -30,13 +30,13 @@ fitstats(object, \dots)
\item{correct}{logical indicating whether the regular (default) or corrected (i.e., AICc) should be extracted.}
}
\value{
For \code{fitstats.rma}, a data frame with the (restricted) log-likelihood, deviance, AIC, BIC, and AICc values for each model passed to the function.
For \code{fitstats}, a data frame with the (restricted) log-likelihood, deviance, AIC, BIC, and AICc values for each model passed to the function.

For \code{logLik.rma}, an object of class \code{"logLik"}, providing the (restricted) log-likelihood of the model evaluated at the estimated coefficient(s).
For \code{logLik}, an object of class \code{"logLik"}, providing the (restricted) log-likelihood of the model evaluated at the estimated coefficient(s).

For \code{deviance.rma}, a numeric value with the corresponding deviance.
For \code{deviance}, a numeric value with the corresponding deviance.

For \code{AIC.rma} and \code{BIC.rma}, either a numeric value with the corresponding AIC, AICc, or BIC or a data frame with rows corresponding to the models and columns representing the number of parameters in the model (\code{df}) and the AIC, AICc, or BIC.
For \code{AIC} and \code{BIC}, either a numeric value with the corresponding AIC, AICc, or BIC or a data frame with rows corresponding to the models and columns representing the number of parameters in the model (\code{df}) and the AIC, AICc, or BIC.
}
\note{
Variance components in the model (e.g., \if{latex}{\eqn{\tau^2}}\if{html}{\eqn{\tau²}}\if{text}{\eqn{\tau^2}} in random/mixed-effects models) are counted as additional parameters in the calculation of the AIC, BIC, and AICc. Also, the fixed effects are counted as parameters in the calculation of the AIC, BIC, and AICc even when using REML estimation.
Expand Down
4 changes: 2 additions & 2 deletions man/print.list.rma.Rd
Expand Up @@ -3,9 +3,9 @@
\alias{[.list.rma}
\alias{head.list.rma}
\alias{tail.list.rma}
\title{Print Method for 'list.rma' Objects}
\title{Methods for 'list.rma' Objects}
\description{
Print method for objects of class \code{"list.rma"}.
Methods for objects of class \code{"list.rma"}.
}
\usage{
\method{print}{list.rma}(x, digits, \dots)
Expand Down

0 comments on commit 16fd1a9

Please sign in to comment.