createthemodel: create the model using caret package

Description Usage Arguments Examples

View source: R/model_adjustment.r

Description

This function train the model using 80

Usage

1
createthemodel(data, train_index, method)

Arguments

data

which you want to build the model for

train_index

theis index was created using machine_learning function and it is required to make sure that we train and test the data on the same set

method

which method you want to train the model such as 'lda' and 'gbm'

Examples

1
2
3
4
5
createthemodel(data,train_index,method)
createthemodel(data,train_index,method)


   

FADHLyemen/lilikoi_Fadhl documentation built on Aug. 7, 2019, 5:28 a.m.