precrec: Calculate Accurate Precision-Recall and ROC (Receiver Operator Characteristics) Curves
Version 0.7.1

Accurate calculations and visualization of precision-recall and ROC (Receiver Operator Characteristics) curves.

Browse man pages Browse package API and functions Browse package files

AuthorTakaya Saito [aut, cre], Marc Rehmsmeier [aut]
Date of publication2017-04-07 17:58:00 UTC
MaintainerTakaya Saito <takaya.saito@outlook.com>
LicenseGPL-3
Version0.7.1
URL http://takayasaito.github.io/precrec https://github.com/takayasaito/precrec
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("precrec")

Man pages

as.data.frame: Convert a curves and points object to a data frame
auc: Retrieve a data frame of AUC scores
autoplot: Plot performance evaluation measures with ggplot2
B1000: Balanced data with 1000 positives and 1000 negatives.
B500: Balanced data with 500 positives and 500 negatives.
create_sim_samples: Create random samples for simulations
evalmod: Evaluate models and calculate performance evaluation measures
fortify: Convert a curves and points object to a data frame for...
IB1000: Imbalanced data with 1000 positives and 10000 negatives.
IB500: Imbalanced data with 500 positives and 5000 negatives.
join_labels: Join observed labels of multiple test datasets into a list
join_scores: Join scores of multiple models into a list
mmdata: Reformat input data for performance evaluation calculation
P10N10: A small example dataset with several tied scores.
part: Calculate partial AUCs
pauc: Retrieve a data frame of pAUC scores
plot: Plot performance evaluation measures
precrec: precrec: A package for computing accurate ROC and...

Functions

B1000 Man page
B500 Man page
IB1000 Man page
IB500 Man page
P10N10 Man page
add_curve_with_ci Source code
as.data.frame Man page
as.data.frame.mmcurves Man page Source code
as.data.frame.mmpoints Man page Source code
as.data.frame.mscurves Man page Source code
as.data.frame.mspoints Man page Source code
as.data.frame.smcurves Man page Source code
as.data.frame.smpoints Man page Source code
as.data.frame.sscurves Man page Source code
as.data.frame.sspoints Man page Source code
auc Man page Source code
auc.aucs Man page Source code
auc.default Source code
autoplot Man page
autoplot.cmats Source code
autoplot.fmdat Source code
autoplot.mmcurves Man page Source code
autoplot.mmpoints Man page Source code
autoplot.mscurves Man page Source code
autoplot.mspoints Man page Source code
autoplot.pevals Source code
autoplot.smcurves Man page Source code
autoplot.smpoints Man page Source code
autoplot.sscurves Man page Source code
autoplot.sspoints Man page Source code
autoplot_multi Source code
autoplot_single Source code
calc_auc Source code
calc_avg_basic Source code
calc_avg_common Source code
calc_avg_curve Source code
calc_avg_points Source code
calc_avg_rocprc Source code
calc_basic_measures Source code
calc_measures Source code
calc_pauc Source code
check_add_np_nn Source code
check_cpp_func_error Source code
check_curvetype Source code
check_limits Source code
check_mode Source code
check_raw_curves Source code
check_ret_grob Source code
check_show_cb Source code
check_show_legend Source code
check_type Source code
combine_plots Source code
convert_curve_avg_df Source code
convert_curve_df Source code
create_confmats Source code
create_confusion_matrices Source code
create_curve Source code
create_curves Source code
create_modnames Source code
create_prc Source code
create_prc_curve Source code
create_roc Source code
create_roc_curve Source code
create_sim_samples Man page Source code
create_src_obj Source code
dataframe_common Source code
dataframe_curve Source code
dataframe_curve_avg Source code
evalmod Man page Source code
factor_labels Source code
format_labels Source code
fortify Man page
fortify.cmats Source code
fortify.fmdat Source code
fortify.mmcurves Man page Source code
fortify.mmpoints Man page Source code
fortify.mscurves Man page Source code
fortify.mspoints Man page Source code
fortify.pevals Source code
fortify.smcurves Man page Source code
fortify.smpoints Man page Source code
fortify.sscurves Man page Source code
fortify.sspoints Man page Source code
gather_aucs Source code
gather_paucs Source code
gather_paucs_avg Source code
geom_basic Source code
geom_basic_point Source code
geom_basic_prc Source code
geom_basic_roc Source code
get_autoplot_arglist Source code
get_obj Source code
get_obj_arg Source code
get_plot_arglist Source code
get_score_ranks Source code
get_single_or_multiple Source code
get_titiles Source code
get_value_range Source code
get_xlim Source code
get_ylim Source code
grid_arrange_shared_legend Source code
join_datasets Source code
join_labels Man page Source code
join_scores Man page Source code
load_ggplot2 Source code
load_grid Source code
load_gridExtra Source code
make_matplot_mats Source code
make_multi_colors Source code
make_prefix Source code
make_rocprc_title Source code
matplot_wrapper Source code
mmdata Man page Source code
onUnload Source code
part Man page Source code
part.default Source code
part.mmcurves Man page Source code
part.mscurves Man page Source code
part.smcurves Man page Source code
part.sscurves Man page Source code
pauc Man page Source code
pauc.aucs Man page Source code
pauc.default Source code
pl_main Source code
pl_main_basic Source code
pl_main_rocprc Source code
plot Man page
plot.mmcurves Man page Source code
plot.mmpoints Man page Source code
plot.mscurves Man page Source code
plot.mspoints Man page Source code
plot.smcurves Man page Source code
plot.smpoints Man page Source code
plot.sscurves Man page Source code
plot.sspoints Man page Source code
plot_avg Source code
plot_multi Source code
plot_single Source code
pmatch_curvetype_basic Source code
pmatch_curvetype_rocprc Source code
pmatch_expd_first Source code
pmatch_mode Source code
pmatch_tiesmethod Source code
precrec Man page
precrec-package Man page
prepare_autoplot Source code
prepare_part_calc Source code
print.beval_info Source code
print.curve_info Source code
print.mdat Source code
rank_scores Source code
reformat_data Source code
sample_rnd5levs Source code
set_coords Source code
set_layout Source code
show_legend Source code
summarize_basic Source code
summarize_curves Source code
summarize_points Source code
validate Source code
validate.avgcurves Source code
validate.avgpoints Source code
validate.cmats Source code
validate.crvgrp Source code
validate.curves Source code
validate.default Source code
validate.fmdat Source code
validate.mdat Source code
validate.mmcurves Source code
validate.mmpoints Source code
validate.mscurves Source code
validate.mspoints Source code
validate.pevals Source code
validate.pointgrp Source code
validate.prc_curve Source code
validate.roc_curve Source code
validate.smcurves Source code
validate.smpoints Source code
validate.sscurves Source code
validate.sspoints Source code
validate_avg_common Source code
validate_basic Source code
validate_calc_avg Source code
validate_cb_alpha Source code
validate_curve Source code
validate_curves_common Source code
validate_data_type Source code
validate_dsid Source code
validate_dsids Source code
validate_evalmod_args Source code
validate_expd_first Source code
validate_join_datasets_args Source code
validate_labels Source code
validate_mmdata_args Source code
validate_mode Source code
validate_model_type Source code
validate_modname Source code
validate_modnames Source code
validate_na_worst Source code
validate_pl_main_args Source code
validate_points_common Source code
validate_posclass Source code
validate_raw_curves Source code
validate_reformat_data_args Source code
validate_scores Source code
validate_scores_and_labels Source code
validate_ties_method Source code
validate_x_bins Source code

Files

inst
inst/CITATION
inst/doc
inst/doc/introduction.R
inst/doc/introduction.html
inst/doc/introduction.Rmd
tests
tests/testthat.R
tests/testthat
tests/testthat/test_pl6_1_calc_avg_points.R
tests/testthat/test_pl2_1_pl_main_rocprc.R
tests/testthat/test_mm3_1_reformat_data_scores.R
tests/testthat/test_pl5_2_create_prc.R
tests/testthat/test_pl5_3_create_curves.R
tests/testthat/test_pl1_1_pl_main.R
tests/testthat/test_pl2_1_pl_main_basic.R
tests/testthat/test_pl6_2_calc_avg_curves.R
tests/testthat/test_g_plot2_curves.R
tests/testthat/test_mm1_2_mmdata_mnames.R
tests/testthat/test_mm2_1_join_datasets.R
tests/testthat/test_g_fortify3_points.R
tests/testthat/test_g_print.R
tests/testthat/test_mm3_3_reformat_data_main.R
tests/testthat/test_mm3_2_reformat_data_labels.R
tests/testthat/test_pl5_1_create_roc.R
tests/testthat/test_g_plot3_points.R
tests/testthat/test_mm2_3_join_labels.R
tests/testthat/test_g_autoplot3_points.R
tests/testthat/test_g_fortify2_curves.R
tests/testthat/test_g_auc.R
tests/testthat/test_g_autoplot2_curves.R
tests/testthat/test_g_autoplot1_pl.R
tests/testthat/test_g_part.R
tests/testthat/test_mm1_1_mmdata.R
tests/testthat/test_mm2_2_join_scores.R
tests/testthat/test_g_datamatrix2_points.R
tests/testthat/test_pl3_1_create_confmats.R
tests/testthat/test_main_evalmod.R
tests/testthat/test_g_pauc.R
tests/testthat/test_g_datamatrix1_curves.R
tests/testthat/test_g_fortify1_pl.R
tests/testthat/test_pl4_1_calc_measures.R
src
src/format_labels.cpp
src/create_prc_curve.cpp
src/conv_vec.cpp
src/calc_basic_measures.cpp
src/calc_avg_curve.cpp
src/create_confusion_matrices.cpp
src/convert_curve_avg_df.cpp
src/convert_curve_df.cpp
src/conv_vec.h
src/get_score_ranks.cpp
src/calc_avg_point.cpp
src/create_roc_curve.cpp
src/calc_auc.cpp
src/precrec_init.c
src/RcppExports.cpp
NAMESPACE
NEWS.md
data
data/IB1000.rda
data/B1000.rda
data/P10N10.rda
data/IB500.rda
data/B500.rda
R
R/g_plot.R
R/mm3_reformat_data.R
R/etc_utils_validate_args.R
R/etc_utils_dataframe.R
R/pl4_calc_measures.R
R/etc_utils_autoplot.R
R/pl3_create_confmats.R
R/main_evalmod.R
R/g_fortify.R
R/pl5_create_curves.R
R/g_autoplot.R
R/pl2_pipeline_main_basic.R
R/g_dataframe.R
R/mm2_join_data.R
R/etc_utils_fortify.R
R/g_part.R
R/mm1_create_mmdat.R
R/RcppExports.R
R/etc_create_samples.R
R/pl2_pipeline_main_rocprc.R
R/g_pauc.R
R/precrec.R
R/g_print.R
R/etc_utils.R
R/pl1_pipeline_main.R
R/pl6_calc_average.R
R/etc_utils_plot.R
R/g_auc.R
R/etc_utils_validate_obj.R
vignettes
vignettes/introduction.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/fortify.Rd
man/B500.Rd
man/mmdata.Rd
man/IB1000.Rd
man/as.data.frame.Rd
man/B1000.Rd
man/join_scores.Rd
man/auc.Rd
man/autoplot.Rd
man/part.Rd
man/pauc.Rd
man/P10N10.Rd
man/precrec.Rd
man/create_sim_samples.Rd
man/plot.Rd
man/join_labels.Rd
man/evalmod.Rd
man/IB500.Rd
precrec documentation built on May 20, 2017, 1:13 a.m.