Learn R Programming

Comp2ROC (version 1.1.4)

save.file.summary: Save File

Description

This functions allow to save the information on a file.

Usage

save.file.summary(result, name, app = TRUE, mod1, mod2)

Arguments

result
List of statistical measures obtaind throught roc.curves.boot
name
File name
app
Indicates if the user wants to append information on the same file
mod1
Name of the column of dataframe that represents the first modality
mod2
Name of the column of dataframe that represents the second modality

Value

This functions saves on the file with name name the performance parameters of the test.

Details

The user don't need to fill the app parameter, because by default it was set to TRUE. This parameter allow the user to choose if he wants the results of differents performances in the same file, or each time that he starts a new performance the file will be new.

Examples

Run this code
# If the user wants to append the results
save.file.summary(results, nameE, mod1=moda1, mod2=moda2)

# If the user does not want to append the results
save.file.summary(results, nameE, app=FALSE, moda1, moda2)

Run the code above in your browser using DataLab