Description Usage Arguments Value Examples
Simulate exemplary segmentation data.
1  | simSegData(nseg=10, J=3, soj, emis, seed=1234, toPlot=FALSE)
 | 
nseg | 
 size of initial segments pool  | 
J | 
 states number  | 
soj | 
 a list object containing sojourn settings  | 
emis | 
 a list object containing emission settings  | 
seed | 
 seed for simulation  | 
toPlot | 
 whether to output a pdf image of the simulated series  | 
a list object containing the simulated data and the segment info
E | 
 a numeric vector of the simulated data serie  | 
L | 
 a vector of the length for each continuous segment  | 
S | 
 a vector of state assignment for each segment  | 
pdf | 
 the name of the output pdf file if any  | 
1 2 3  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.