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

predictPostprob

lcModel posterior probability prediction


Description

lcModel posterior probability prediction

Usage

## S4 method for signature 'lcModel'
predictPostprob(object, newdata = NULL, ...)

Arguments

object

The lcModel to predict the posterior probabilities with.

newdata

Optional data frame for which to compute the posterior probability. If omitted, the model training data is used.

...

Additional arguments.

Details

The default implementation returns a uniform probability matrix.

Value

A matrix indicating the posterior probability per trajectory per measurement on each row, for each cluster (the columns).

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.