table_cv_performance: Cross validation performance table.

Description Usage Arguments Details Value Note Author(s) See Also

View source: R/table_cv_performance.R

Description

table_cv_performance() reproduces the cross validation performance table in section x.xx of Benjamin Gordon's PhD thesis.

Usage

1
2
table_cv_performance(table.name = "CV_perform_table",
  save.table = FALSE)

Arguments

table.name

Name of table.

save.table

Logical indicating if the plot should be saved to ./tables/.

Details

table_cv_performance() loads the saved models in ./inst/extdata/; calculates the cross validation confusion matrices and statistics for each model; creates a table containing the accuracy and the class specific sensitivity and specificity for each model; saves the table to ./tables/ as a .csv file with a .txt file extension.

Value

returns a tibble with class tbl_df.

Note

The .txt file extension makes it easy to open the file in a text editor and copy/paste the contents to Word, where the text can be easily converted to a table. Although this function is exported, table_cv_performance() was not intended to be used outside of this package.

Author(s)

Benjamin R. Gordon

See Also

confusionMatrix tibble


brgordon17/coralclass documentation built on June 15, 2020, 9:21 p.m.