rename_var {gmgm} | R Documentation |
This function renames variables of a Gaussian mixture model.
rename_var(gmm, var, names)
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. |
The gmm
object after renaming the variables.
data(gmm_body)
gmm_1 <- rename_var(gmm_body, "FAT", "BODY_FAT")