Converts to a format which is understood by precrec::evalmod() of package precrec.

as_precrec(object)

# S3 method for PredictionClassif
as_precrec(object)

# S3 method for ResampleResult
as_precrec(object)

# S3 method for BenchmarkResult
as_precrec(object)

Arguments

object

(any)
Object to convert.

Value

Object as created by precrec::mmdata().