simulData {segmented}R Documentation

Simulated data

Description

Simulated dataset to illustrate the capability of segmented

Usage

data(simulData)

Format

A data frame with 200 observations on the following 3 variables.

y
the response variable
x
the explanatory variable
group
the grouping variable

Details

This dataset is employed to illustrate the capabilities of segmented in fitting segmented relationships with several breakpoints and constraints on the slope parameters.

Examples

data(simulData)
## plot(simulData)

[Package segmented version 0.2-2 Index]