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

lcModel-data-filters

Data filters for lcModel


Description

The data filters are applied by latrend prior to model estimation. These filters are used in latrendBoot and latrendCV.

Usage

bootSample(data, id, seed = NULL)

trainFold(data, fold, id, folds, seed)

testFold(data, fold, id, folds, seed)

Arguments

data

The data.frame representing the model dataset.

id

The name of the trajectory identifier variable.

seed

Optional seed for ensuring reproducibility.

fold

The fold to select.

folds

Total number of folds to create.

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.