rocsy: ROC summary

Description Usage Arguments Value

View source: R/rocsy.R

Description

Summarize the ROC curves from a cross validation of a two class classifier build by caret::train

Usage

1
rocsy(trainObj, pos, fsum = mean, ...)

Arguments

trainObj

Object of class train with saved predictions from the cross validation process

pos

String with the name of the positive class in the two class classification problem

fsum

Function that is used to summarize the ROC curves from the cross validation

...

Further arguments for fsum

Value

A tbl_df with columns tpr and fpr that can be used to visualize the summarized ROC curve.


seb09/rocsy documentation built on Nov. 5, 2019, 8:47 a.m.