initializeData: Scale the dataset and convert categorical variables to...

Description Usage Arguments

Description

Scale the dataset and convert categorical variables to indicators

Usage

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")

Arguments

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


bozenne/lava.penalty documentation built on May 13, 2019, 1:41 a.m.