Description Usage Arguments Details Value Note Author(s) See Also
View source: R/table_model_test.R
table_model_test()
reproduces the model testing performance table in
section x.xx of Benjamin Gordon's PhD thesis.
1 2 | table_model_test(table.name = "model_testing_table",
save.table = FALSE)
|
table.name |
Name of table. |
save.table |
Logical indicating if the plot should be saved to
|
table_model_test()
loads the saved models in
./inst/extdata/
; reproduces then predicts the test data; calculates
the confusion matrices and statistics for the test data; 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_model_test()
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.