rename_var | 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.
add_var
, remove_var
data(gmm_body) gmm_1 <- rename_var(gmm_body, "FAT", "BODY_FAT")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.