gen_sample_dataset | R Documentation |
gen_sample_dataset
gen_sample_dataset(
D,
nobs,
response_type = c("categorical", "continuous"),
data_mode = c("image", "surface"),
spacing = c(1, 1, 1),
blocks = 5,
nlevels = 5,
external_test = FALSE,
ntest_obs = nobs,
split_by = NULL,
na_cols = 0
)
D |
the data dimension(s) |
nobs |
the number of observations |
response_type |
'categorical' or 'continuous' |
data_mode |
'image' or 'surface' |
spacing |
the voxel spacing |
blocks |
the number of 'blocks' in the data |
nlevels |
the number of category levels |
external_test |
is the test set 'external' to the training set |
ntest_obs |
number of test observations (only relevant if |
split_by |
compute performance measures for each level of factor |
na_cols |
number of columns with all NA values to add |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.