rename_var {gmgm} | R Documentation |
Rename variables of a Gaussian mixture model
Description
This function renames variables of a Gaussian mixture model.
Usage
rename_var(gmm, var, names)
Arguments
gmm |
An object of class |
var |
A character vector containing the renamed variables. |
names |
A character vector containing the respective new names of the variables. |
Value
The gmm
object after renaming the variables.
See Also
Examples
data(gmm_body)
gmm_1 <- rename_var(gmm_body, "FAT", "BODY_FAT")
[Package gmgm version 1.1.2 Index]