make.stats.df.from.preds: Create the "Stats" Data Frame from Prediction Data Frame

Description Usage Arguments Value

Description

Given the "Prediction" data frame generated by a particular model type, compute the statistics needed to plot the ROC curve, and Precision-Recall curve

Usage

1
make.stats.df.from.preds(pred.df, num.roc.points = 101)

Arguments

pred.df

Data frame containing the actual reponses, predicted responses, and model name for a given model. Generally, this should be output by either make.pred.df.from.model or make.pred.df.from.glm

num.roc.points

An integer indicating how many points to include in calculating the ROC curve parameters

Value

A data frame containing statistics needed to plot the ROC and Precision-Recall curves


PriceLab/FPML documentation built on May 28, 2019, 2:25 p.m.