VT.predict: VT.predict generic function

Description Usage Arguments Value Methods (by class)

Description

VT.predict generic function

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
VT.predict(rfor, newdata, type)

## S4 method for signature 'RandomForest,missing,character'
VT.predict(rfor, type = "binary")

## S4 method for signature 'RandomForest,data.frame,character'
VT.predict(rfor, newdata,
  type = "binary")

## S4 method for signature 'randomForest,missing,character'
VT.predict(rfor, type = "binary")

## S4 method for signature 'randomForest,data.frame,character'
VT.predict(rfor, newdata,
  type = "binary")

## S4 method for signature 'train,ANY,character'
VT.predict(rfor, newdata, type = "binary")

## S4 method for signature 'train,missing,character'
VT.predict(rfor, type = "binary")

Arguments

rfor

random forest model. Can be train, randomForest or RandomForest class.

newdata

Newdata to predict by the random forest model. If missing, OOB predictions are returned.

type

Must be binary or continous, depending on the outcome. Only binary is really available.

Value

vector E(Y=1)

Methods (by class)


prise6/aVirtualTwins documentation built on May 8, 2019, 6:50 p.m.