View source: R/initExampleData.R
createExampleData | R Documentation |
Real signals and background noise originating from experimental settings or random events
createExampleData( components = c(70, 10, 10, 10), samples = 10, classes = 2, bg = 3, timepoints = rep(5, 3), myfile = NA )
components |
vector numbers of background and informative components to be created. |
samples |
number of experiments per class |
classes |
number of classes |
bg |
number of background measurements |
timepoints |
number of sample measurements for each spline |
myfile |
filename of the pdf file created. Note: '.pdf' is added automatically. |
final matrix of example data.
## Not run: components = c(21,3,3,3) samples = 10 classes = 2; bg = 3; timepoints = rep(5,3) p=TRUE; longDataExample <- createExampleData(components, samples, classes, bg, timepoints) dim(longDataExample)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.