Scale the dataset and convert categorical variables to indicators
1 2 3 4 5 6 7 8 9 | initializeData(x, ...)
## S3 method for class 'plvm'
initializeData(x, data, method.center = "mean",
method.scale = "sd")
## S3 method for class 'pmultigroup'
initializeData(x, method.center = "mean",
method.scale = "sd")
|
x |
a penalized lvm model |
data |
a data.frame containing the data |
method.center |
function used to center the data |
method.scale |
function used to scale the data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.