check_meth-internal {sMSROC}R Documentation

Check the method for estimating the predictive model

Description

When the predictive model is entered manually by the user, this function ensures that no other method by default is used to compute it.

Usage

check_meth(meth, probs)

Arguments

meth

method for approximating the predictive model P (D | X=x).

probs

vector containing the probabilities corresponding to the predictive model when it is entered manually by the user.

Details

If the predicitve model has been manually indicated, this function sets the parameter to "M" ignoring other options. In this way, none of the function computing the predictive model will be called.

Value

A list with one component:

meth

value set up for the method parameter.It can take eiter the value entered by the user or its default, if the predictive model was not manually indicated, or the value "M", when the predicitive model was entered in the parameter probs.


[Package sMSROC version 0.1.2 Index]