check.rfcdata | R Documentation |
Assign ultasound data types for RFC building and validation.
check.rfcdata(x, levels = NULL, ...)
x |
An (n, 14) ultrasound features data.frame, where n is the number of subjects. |
levels |
A list of length 15, corresponding to the levels of
each ultrasound variable plus the phenotype (y = 0, 1).
Needed for categorical variables (factors) checking;
for continuous variables, it should assume the nominal value of 0.
If NULL (default), the |
... |
Currently ignored. |
A data.frame of ultrasound features with checked data type.
Fernando Palluzzi fernando.palluzzi@gmail.com
buildPredictor
.
# generate a dataset of 500 subjects x <- mosaic::sample(mpm.us, 500, replace = FALSE, prob = NULL) x <- x[, 2:16] # Assign the correct data types for RFC building and validation x <- check.rfcdata(x) summary(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.