Description Usage Arguments Value Examples
This function trains the OASIS model from a data.frame
produced by an element from the output of the
function oasis_train_dataframe
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)
|
... |
|
formula |
formula to be fit by glm model |
remove_preproc |
a logical stating if |
Returns a glm
object containing the trained OASIS
coefficients to be used by the function oasis_predict
.
1 2 3 | df = oasis::example_oasis_df
df$GoldStandard = df$GOLD_Lesions
oasis_training(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.