oasis_training: OASIS Training

Description Usage Arguments Value Examples

View source: R/oasis_training.R

Description

This function trains the OASIS model from a data.frame produced by an element from the output of the function oasis_train_dataframe

Usage

1
2
3
oasis_training(..., formula = GoldStandard ~ FLAIR_10 * FLAIR + FLAIR_20 *
  FLAIR + PD_10 * PD + PD_20 * PD + T2_10 * T2 + T2_20 * T2 + T1_10 * T1 + T1_20
  * T1, remove_preproc = FALSE)

Arguments

...

data.frame(s) produced by the oasis_train_dataframe function

formula

formula to be fit by glm model

remove_preproc

a logical stating if oasis_dataframe needs to be extracted from the list of objects. Will call list$oasis_dataframe

Value

Returns a glm object containing the trained OASIS coefficients to be used by the function oasis_predict.

Examples

1
2
3
4
## Not run: 
my_oasis_model <- oasis_training(oasis_dataframe_1, oasis_dataframe_2)

## End(Not run)

neuroconductor-devel/oasis documentation built on Oct. 22, 2017, 8:34 p.m.