gen_sample_dataset
gen_sample_dataset.Rd
gen_sample_dataset
Arguments
- 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
external_test
is true)- split_by
compute performance measures for each level of factor
- na_cols
number of columns with all NA values to add