Helpers for computing metric data from the subset dataset
compute_metric.Rd
Helpers for computing metric data from the subset dataset
Arguments
- r
[data.frame()]
dataframe resulting from compute_metric_data
- predictor
[numeric()]
The scores of the predictor
- response
[factor()]
The response value
Value
[data.frame()]
With columns:
type
[character()]
: Metric namey
[numeric()]
: Metric valuescore
,norm_score
,norm_rank
[numeric()]
: Raw, normalized, and normalized rank predictor value per group.
With an attribute:
limits
[list()]
: With one entry per metric type. Each entry is anumeric(2)
that contains the plotting limits for the metric.