Description Usage Arguments Details Value Note Author(s) See Also
View source: R/table_cv_performance.R
table_cv_performance()
reproduces the cross validation performance
table in section x.xx of Benjamin Gordon's PhD thesis.
1 2 | table_cv_performance(table.name = "CV_perform_table",
save.table = FALSE)
|
table.name |
Name of table. |
save.table |
Logical indicating if the plot should be saved to
|
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.
returns a tibble with class tbl_df
.
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.
Benjamin R. Gordon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.