NReg: Artificial Example for Normal Regression

Description Usage Format Examples

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

1
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

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

flexmixNL documentation built on July 27, 2019, 9:02 a.m.