plot_roc: plot_roc

Description Usage Arguments Value Author(s) See Also Examples

Description

Plot the ROC curve of the logistic regression with logit link.

Usage

1
plot_roc(dat, fmlr)

Arguments

dat

A data whose response is binary (0 and 1).

fmlr

A formula for the logistic regression with logit link.

Value

A ggplot object.

Author(s)

Junkyu Park

See Also

binarize_binom, binarize_pois, change_form, CI_auc, Binarizing data using data.table

Examples

1
2
# data(nodal, package = 'SMPracticals')
plot_roc(nodal, r ~ stage + xray + acid)

joon3216/funpark documentation built on June 18, 2019, 7:32 a.m.