## deliberately overriding the default for showWarnings, so as to not confuse
## timing tests run by CRAN; you should not need to do this
OutputReport(dataset = rocData, method = "DBMH", fom = "Wilcoxon",
dataDscrpt = "MyROCData", showWarnings = FALSE)
## Not run:
# ## Generate a analysis report for a data file.
# fileName <- system.file("tests", "rocData.xlsx", package = "RJafroc")
# OutputReport(fileName = fileName, method = "DBMH", fom = "Wilcoxon",
# showWarnings = FALSE)
#
# ## Output report for an existing dataset
# OutputReport(dataset = rocData, method = "DBMH", fom = "Wilcoxon",
# reportFile = "MyROCDataAnalysis.txt", showWarnings = FALSE)
# OutputReport(dataset = rocData, method = "ORH", fom = "Wilcoxon", showWarnings = FALSE)
# OutputReport(dataset = frocData, method = "DBMH", fom = "Wilcoxon") # ERROR!
# OutputReport(dataset = frocData, method = "ORH") # default fom is wJAFROC
# OutputReport(dataset = frocData, method = "DBMH", fom = "HrAuc")
# OutputReport(dataset = roiData, method = "ORH", fom = "ROI")## End(Not run)
Run the code above in your browser using DataLab