predict_test: Model Predictions

Description Usage Arguments Details Value Author(s)

Description

predict the test datasets with the results of the models.

Usage

1
2
predict_test(model, teststudy, dataset, classvariable, classtype,
  Trainstudy)

Arguments

model

object, a model object for predict.

teststudy

character, the names of the dataset, if the dataset is a list.

dataset

list or dataframe, the test dataset.

classvariable

character, the header name of the train or test dataframe for the classification.

classtype

character, the name of the positive group for classification.

Trainstudy

chraracter, the name of the origin data of the model.

Details

TODO

Value

a list contianed the predict prob and roc results with sensitivity and specificity.

Author(s)

Shuangbin Xu


xiangpin/MetaMicrobiome documentation built on May 26, 2019, 2:34 a.m.