extractFromModel0: Internal function to extrac objects from lists returned by...

Description Usage Arguments Details Value Author(s)

View source: R/extractFromModel.R

Description

Internal function to extract values returned by function mopaTrain

Usage

1
2
extractFromModel0(models, value = c("model", "auc", "kappa", "tss",
  "fold.models", "ObsPred"))

Arguments

models

Object returned by mopaTrain.

value

Any character of the following: "model", "auc", "kappa", "tss", "fold.models", "ObsPred"

Details

ObsPred allows to calculate further accuracy measures.

Value

Depending on the specified value:

model

fitted model using all data for training

auc

AUC statistic in the cross validation

kappa

kappa statistic in the cross validation

tss

true skill statistic in the cross validation

fold.models

fitted model with partitioned data

ObsPred

Observed and prediced (cross model prediction) values

Author(s)

M. Iturbide


mopa documentation built on May 2, 2019, 6:47 a.m.

Related to extractFromModel0 in mopa...