R/isValidFom.R

isValidFom <- function (dataset, FOM){
  if ((dataset$descriptions$type == "ROC") && (FOM != "Wilcoxon")) return (FALSE)
  if ((dataset$descriptions$type == "FROC") && (FOM == "Wilcoxon")) return (FALSE)
  return(TRUE)
}

Try the RJafroc package in your browser

Any scripts or data that you put into this service are public.

RJafroc documentation built on Nov. 10, 2022, 5:45 p.m.