performance {datafsm} | R Documentation |
Measure Model Performance
Description
performance
measures difference between predictions and data
Usage
performance(results, outcome, measure)
Arguments
results |
Numeric vector with predictions |
outcome |
Numeric vector same length as results with real data to compare to. |
measure |
Optional length one character vector that is either:
"accuracy", "sens", "spec", or "ppv". This specifies what measure of
predictive performance to use for training and evaluating the model. The
default measure is |
Details
This is the function of the datafsm package used to measure the fsm model performance. It uses the caret package.
Value
Returns a numeric vector length one.