Description Usage Arguments Value
View source: R/TMS_Classifier.R
Extract a random partition from an input dataset.
1 |
data |
An input data.frame. |
p |
Proportion of input rows to be extracted from the input dataset. |
status |
Numeric value indicating the column for subject diagnosis (default status = NULL). Allowed values for this column are "HC", "FTD", "AD", and "DLB". If status is not NULL, random partitioning will preserve the status column proportions. |
shuffle |
A logical value. If TRUE, the input rows are randomly shuffled before data partitioning. |
A list of 2 data.frames:
"training.set", the portion of the input data defined by p;
"validation.set", the portion of the input data defined by 1-p.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.