fitted.ngme: Fitted values.

View source: R/ngme.utils.R

fitted.ngmeR Documentation

Fitted values.

Description

Calculates fitted values.

Usage

## S3 method for class 'ngme'
fitted(object, type = "marginal", ...)

Arguments

object

A fitted object by calling "ngme" function.

type

A character string for the type of fitted values; "marginal" for fixed effects.

...

Additional arguments; none used currently.

Details

Subject-specific fitted values can be obtained using "predict.ngme".

See Also

ngme, fitted

Examples

  ## Not run: 
  fit <- ngme(...)
  fitted(fit)
  
## End(Not run)

davidbolin/ngme documentation built on Dec. 5, 2023, 11:48 p.m.