oneid {clustra} | R Documentation |
Generates data for one id
Description
Generates data for one id
Usage
oneid(id, n_obs, type, intercept, start, end, smin, emax, noise)
Arguments
id |
A unique integer. |
n_obs |
An integer number of observations to produce. |
type |
Response type, 1 is constant, 2 is a sin curve portion, and 3 is a sigmoid portion. |
intercept |
Used to set response at |
start |
Negative integer giving time of first observation. |
end |
Positive integer giving time of last observation. |
smin |
The smallest possible |
emax |
The largest possible |
noise |
Standard deviation of zero mean Gaussian noise added to response functions. |
Value
An n_obs
by 4 matrix with columns id
, time
, response
, true_group
.
[Package clustra version 0.2.1 Index]