Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fitted.lcModel

Extract lcModel fitted values


Description

Extract lcModel fitted values

Usage

## S3 method for class 'lcModel'
fitted(object, ..., clusters = trajectoryAssignments(object))

Arguments

object

The lcModel object.

...

Additional arguments.

clusters

Optional cluster assignments per id. If unspecified, a matrix is returned containing the cluster-specific predictions per column.

Value

A numeric vector of the fitted values for the respective class, or a matrix of fitted values for each cluster.

See Also


latrend

A Framework for Clustering Longitudinal Data

v1.1.2
GPL (>= 2)
Authors
Niek Den Teuling [aut, cre] (<https://orcid.org/0000-0003-1026-5080>), Steffen Pauws [ctb], Edwin van den Heuvel [ctb], Copyright © 2021 Koninklijke Philips N.V. [cph]
Initial release
2021-04-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.