NReg {flexmixNL}R Documentation

Artificial Example for Normal Regression

Description

A simple artificial regression example containing 200 data points with two latent classes. The data set includes one independent variable (uniform on [0,10]) and one dependent variable with normal distribution.

Usage

data("NReg")

Format

This data frame contains the following columns:

x

a numeric vector giving the independent variable.

yn

a numeric vector giving the dependent variable with normal distribution.

class

a numeric vector indicating the labeling of the data points to distinct classes.

Examples

data("NReg", package = "flexmixNL")
plot(yn ~ x, col = class, data = NReg)

[Package flexmixNL version 0.0.1 Index]