cf1.param | R Documentation |
Crate CF1 with the first moment of a given data. This function calls cf1.param.linear and cf1.param.power to determine CF1. After execute 5 EM steps, the model with the smallest LLF is selected.
cf1.param(data, size, options, ...)
data |
A dataframe |
size |
An integer for the number of phases |
options |
A list of options for EM steps |
... |
Others. This can provide additional options for EM steps. |
## Generate group data dat <- data.frame.phase.group(c(1,2,0,4), seq(0,10,length.out=5)) ## Create an instance of CF1 p <- cf1.param(data=dat, size=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.