cov_clm: Fit covariance structered longitudinal model.

Description Usage Arguments Value Examples

View source: R/cov_clm____main.R

Description

Fit covariance structered longitudinal model.

Usage

1
cov_clm(fit, fittingType, sigmaThetaExpr, optimParams)

Arguments

fit

A fit model with class 'clm'

fittingType

A character with the fitting function type. See optins above

sigmaThetaExpr

A character with the covariance structure type or a list of expressions

optimParams

A list with configuration for optim function. 'Par' is required.

Value

The fit model with class 'clm.theta'.

Examples

1
2
3
4
fitTheta <- cov_clm(fit,
  fittingType = "PML", sigmaThetaExpr = "UCM",
  optimParams = list(par = c(7, 5))
)

phmpacheco-ufjf/clm documentation built on Dec. 22, 2021, 8:40 a.m.