idGenerates data for one id
oneid(id, n_obs, type, intercept, start, end, smin, emax, noise)An n_obs by 4 matrix with columns id, time, response, true_group.
A unique integer.
An integer number of observations to produce.
Response type, 1 is constant, 2 is a sin curve portion, and 3 is a sigmoid portion.
Used to set response at smin time value (not 0) and shift all responses
accordingly.
Negative integer giving time of first observation.
Positive integer giving time of last observation.
The smallest possible start value among all ids. Used to align with
intercept and then dropped.
The largest possible end value among all ids. Used to scale sin and
sigmoid support.
Standard deviation of zero mean Gaussian noise added to response functions.