| example {MSwM} | R Documentation |
Example data generated
Description
The example data is a generated data set to show how msmFit can detect the presence of two regimes in a data with autocorrelative periods and other periods that are correlated with the covariate x.
Usage
data(example)
Format
A data frame with 300 observations on the following 2 variables.
xan uniform distribution with min=0 and max=1.
ya variable generated through two models. For further information, see the vignette 'example' on this package.
Examples
data(example)
plot(x~y,data=example)
##See the vignette
#vignette("examples")
[Package MSwM version 1.5 Index]