Learn R Programming

tlemix (version 0.1.3)

gaussData: Mixture of two standard normal distributions

Description

Mixture of two standard normal distributions with outliers.

Usage

data(gaussData)

Arguments

Format

A data frame with 100 observations on the following 3 variables.
x
a numeric vector of x-coordinates
y
a numeric vector of y-coordinates
c
a numeric vector of cluster memberships

Examples

Run this code
data(gaussData)
str(gaussData)
# Example needs some computing time:
# estimate
# est.tle <- TLE(y~x,"gaussian",data=gaussData,Density=flexmix.Density,
#            Estimate=flexmix.Estimate,msglvl=1,nc=2,class="hard")
# plot data indicating clusters
# tleplot(est.tle,gaussData,main="TLE Scatter Plot")

Run the code above in your browser using DataLab