GReg {flexmixNL} | R Documentation |
Artificial Example for Gamma 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 gamma distribution.
Usage
data("GReg")
Format
This data frame contains the following columns:
- x
-
a numeric vector giving the independent variable.
- yg
-
a numeric vector giving the dependent variable with gamma distribution.
- class
-
a numeric vector indicating the labeling of the data points to two distinct classes.
Examples
data("GReg", package = "flexmixNL")
plot(yg ~ x, col = class, data = GReg)
[Package flexmixNL version 0.0.1 Index]