This function generates two kinds of datasets.
1. Randomly generates curves with change/no change.
2. Generates true curves assumed from fixed coeffecients with some random noise.
proportion of the areas that have significant change
type
type of curves generated
normerr
standard deviation of the Normal distribution (with mean zero) of which the coefficients are generated
Value
Output from the function is a list of two items:
data - simulated data
parameters - parameters used to generate the data
Details
If type = "random", the function generates curves with change/no change.
If type = "fixed", the function generates true curves assumed from fixed coefficients with some random noise.
If numareas is not specified, it is assumed as a vector of c(300,300,300).
If normerr is not specified, it is assumed as a value of 0.01. It is ignored when type= "random".