givitiCheckArgs: Check of the argument's values

Description Usage Arguments Value

Description

Check of the coherence of the values passed to the functions givitiCalibrationTest and givitiCalibrationBelt.

Usage

1
givitiCheckArgs(o, e, devel, thres, maxDeg)

Arguments

o

A numeric vector representing the binary outcomes. The elements must assume only the values 0 or 1. The predictions in e must represent the probability of the event coded as 1.

e

A numeric vector containing the probabilities of the model under evaluation. The elements must be numeric and between 0 and 1. The lenght of the vector must be equal to the length of the vector o.

devel

A character string specifying if the model has been fit on the same dataset under evaluation (internal) or if the model has been developed on an external sample (external).

thres

A numeric scalar between 0 and 1 representing 1 - the significance level adopted in the forward selection.

maxDeg

The maximum degree considered in the forward selection.

Value

The function produce an error if the elements provided through the arguments do not meet the constraints reported.



Search within the givitiR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.