Learn R Programming

nlme (version 3.1-166)

nlme-deprecated: Deprecated Functions in Package nlme

Description

These functions are provided for compatibility with older versions of nlme only, and may be defunct as soon as the next release.

Usage

## internal functions wrapped by groupedData()
nfGroupedData(formula, data, order.groups, FUN, outer, inner,
              labels, units)
nmGroupedData(formula, data, order.groups, FUN, outer, inner,
              labels, units)

## trivial "identity" correlation, never usefully implemented: corIdent(form = NULL)

Arguments

Examples

Run this code
assertDeprecation <- function(expr)
  tools::assertCondition(expr, "deprecatedWarning", verbose = TRUE)

assertDeprecation(
  nlme::nfGroupedData(height ~ age | Subject, as.data.frame(Oxboys))
)
assertDeprecation( csId <-  corIdent(~ 1 | Subject) )
assertDeprecation( csI. <- Initialize(csId, data = Orthodont) )
assertDeprecation( corMatrix(csI.) )  # actually errors

Run the code above in your browser using DataLab