Description Usage Arguments Details Value Examples
View source: R/sampleBuilding.R
Create results directories for the sample.
1 | createResFolder(data.sample, dir.name = "", dir.path = ".")
|
data.sample |
sample object. |
dir.name |
directory name where to store results. |
dir.path |
path where to create results directory. |
createResFolder creates results directories for the sample.
data.sample updated with results directories.
1 2 3 4 5 6 7 8 9 10 11 | dat <- rbind(matrix(rnorm(100, mean = 0, sd = 0.3), ncol = 2),
matrix(rnorm(100, mean = 2, sd = 0.3), ncol = 2),
matrix(rnorm(100, mean = 4, sd = 0.3), ncol = 2))
tf <- tempfile()
dir <- tempdir()
write.table(dat, tf, sep=",", dec=".")
x <- importSample(file.features=tf, dir.save=dir)
#Already called in importSample
createResFolder(x, dir.path=dir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.