Description Usage Arguments Value Examples
View source: R/initExampleData.R
Real signals and background noise originating from experimental settings or random events
1 2 | createExampleData(components = c(70, 10, 10, 10), samples = 10,
classes = 2, bg = 3, timepoints = rep(5, 3), myfile = NA)
|
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. |
component |
vector numbers of background and informative components to be created. |
finalMatrix matrix of example data...
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
components = c(70,10,10,10)
samples = 10
classes = 2;
bg = 3;
timepoints = rep(5,3)
myfile = "D:/Dropbox/work/projects/LoBrA/results/sample"
p=TRUE;
longDataExample <- createExampleData(components, samples, classes, bg, timepoints)
dim(longDataExample)
save(longDataExample,file="data/longDataExample.RData")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.