Skip to content

Partial match warnings #87

@DavisVaughan

Description

@DavisVaughan

With options(warnPartialMatchDollar = TRUE), pROC throws some partial match warnings, which propagated up into yardstick and tune in tidymodels/tune#334

options(warnPartialMatchDollar = TRUE)
library(pROC)
data(aSAH)

# Basic example
roc(
  aSAH$outcome, 
  aSAH$s100b,
  levels=c("Good", "Poor")
)
#> Setting direction: controls < cases
#> Warning: partial match of 'se' to 'sensitivities'
#> Warning: partial match of 'sp' to 'specificities'
#> 
#> Call:
#> roc.default(response = aSAH$outcome, predictor = aSAH$s100b,     levels = c("Good", "Poor"))
#> 
#> Data: aSAH$s100b in 72 controls (aSAH$outcome Good) < 41 cases (aSAH$outcome Poor).
#> Area under the curve: 0.7314

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNo, it's not a feature!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions