View source: R/modelWeightedPartition.R
lcModelWeightedPartition | R Documentation |
Create a lcModel with pre-defined weighted partitioning
lcModelWeightedPartition(
data,
response,
weights,
clusterNames = colnames(weights),
time = getOption("latrend.time"),
id = getOption("latrend.id"),
name = "wpart"
)
data |
A |
response |
The name of the response variable. |
weights |
A |
clusterNames |
The names of the clusters, or a function with input |
time |
The name of the time variable. |
id |
The name of the trajectory identification variable. |
name |
The name of the method. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.