Skip to content

Commit

Permalink
add NEWS, fit predict docs [run ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bbolker committed Oct 7, 2023
1 parent 6fbb956 commit 1544665
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/predict.R
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ levelfun <- function(x, nl.n, allow.new.levels=FALSE) {
##' @param na.action function determining what should be done with missing values for fixed effects in \code{newdata}. The default is to predict \code{NA}: see \code{\link{na.pass}}.
##' @param se.fit A logical value indicating whether the standard errors should be included or not. Default is FALSE.
##' @param ... optional additional parameters. None are used at present.
##' @return a numeric vector of predicted values
##' @return a numeric vector of predicted values, unless \code{se.fit=TRUE} (in which case a list with elements \code{fit} (predicted values) and \code{se.fit} is returned)
##' @note There is no option for computing standard errors of predictions because it is difficult to define an efficient method that incorporates uncertainty in the variance parameters; we recommend \code{\link{bootMer}} for this task.
##' @examples
##' (gm1 <- glmer(cbind(incidence, size - incidence) ~ period + (1 |herd), cbpp, binomial))
Expand Down
3 changes: 3 additions & 0 deletions inst/NEWS.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

\section{CHANGES IN VERSION 1.1-35 (2023-07-04}{
\subsection{NEW FEATURES}{
\item \code{predict.merMod} now has a \code{se.fit} method, which
computes the standard errors of the predictions, conditional on the
estimated \code{theta} (variance-covariance) parameters
}
} % 1.1-35

Expand Down

0 comments on commit 1544665

Please sign in to comment.