Skip to content

Commit

Permalink
Update isValidDataset.R
Browse files Browse the repository at this point in the history
  • Loading branch information
dpc10ster committed Dec 24, 2023
1 parent cd7925f commit d39efee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/isValidDataset.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ isValidFOM <- function (dataset, FOM) {
}

if ((dataset$descriptions$type == "FROC") &&
!(FOM %in% c("HrAuc", "HrSe", "HrSp", "AFROC", "wAFROC", "AFROC1", "wAFROC1", "MaxLLF", "MaxNLF", "MaxNLFAllCases"))) {
!(FOM %in% c("HrAuc", "HrSe", "HrSp", "AFROC", "wAFROC", "AFROC1", "wAFROC1", "MaxLLF", "MaxNLF", "MaxNLFAllCases", "FROC"))) {
errMsg <- sprintf("FOM = %s not allowed with FROC data.\n", FOM)
stop(errMsg)
}
Expand Down

0 comments on commit d39efee

Please sign in to comment.