fit_mm: Fit a mixture of two Gaussians to groups of data

Description Usage Arguments Value

View source: R/fit_mm.R

Description

Fit a mixture of two Gaussians to groups of data

Usage

1
fit_mm(df, output = "classification")

Arguments

df

Dataframe or dataframe subset with a column 'rel.red' containing data to be fit

ouput

Options are "classification", "posterior", "full"; default is "classification"

Value

a classified dataset ("classification", default), a dataset with the posteriors added as columns ("posterior"), or a dataset with posteriors and information about the mixtures ("full")


ctriandafillou/cat.extras documentation built on Aug. 27, 2020, 11:04 p.m.