View source: R/EvaluationSummary.R
calibrationLine | R Documentation |
calibrationLine
calibrationLine(prediction, numberOfStrata = 10)
prediction |
A prediction object |
numberOfStrata |
The number of groups to split the prediction into |
A list containing the calibrationLine coefficients, the aggregate data used to fit the line and the Hosmer-Lemeshow goodness of fit test
prediction <- data.frame(
value = c(0.1, 0.2, 0.3, 0.4, 0.5),
outcomeCount = c(0, 1, 0, 1, 1))
calibrationLine(prediction, numberOfStrata = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.