Description Usage Arguments Value
View source: R/simulate.data.R
Simulate multiple curve data from a given model (either Normal or Poisson).
1 2 | gen.curves(curve.str, curve.length, stretch, offset, model.mode, num.groups,
num.samples, normal.sigma)
|
curve.str |
curve type for true signal; used in the function |
curve.length |
length of curve data |
stretch |
parameter used to generate true signal; used in the function |
offset |
parameter used to generate true signal; used in the function |
model.mode |
either Normal or Poisson; this function simulates |
num.groups |
how many groups of samples should be simulated; currently this function can simulate data from one group. |
num.samples |
how many curve data should be simulated. |
normal.sigma |
standard deviation in Normal model; |
gen.curves
returns a list of the following elements
true.mean.curve |
a vector of length |
data |
a matrix of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.