Learn R Programming

gmgm (version 1.1.2)

remove_var: Remove variables from a Gaussian mixture model

Description

This function removes variables from a Gaussian mixture model.

Usage

remove_var(gmm, var)

Value

The gmm object after removing the variables.

Arguments

gmm

An object of class gmm.

var

A character vector containing the removed variables.

See Also

add_var, rename_var

Examples

Run this code
data(gmm_body)
gmm_1 <- remove_var(gmm_body, "FAT")

Run the code above in your browser using DataLab