Numeric vector of the same length as scores.
The number of positive entities associated with each score.
If data is not aggregated, a vector of 0's and 1's.
negatives
Similar to positives. Defaults to totals - positives.
totals
How many times each score was predicted. Defaults to 1 (assuming data is not aggregated).
If any value in positives is greater than 1 (aggregated data), totals must be a vector.
Not needed if negatives is supplied.
x
An environment of class rkt_prep for S3 methods.
...
Further parameters.
Details
In a situation where many of the predicted scores have the same value it might be easier and faster to use aggregated data.