You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this behavior which looks like a bug. It appears both in the package from CRAN and in the latest version from GitHub. Here is a reproducible example:
Notice that sensitivity() accepts a factor as input but the same is not valid for specificity(). Using as.numeric(observed) doesn't work, but it is ok if as.numeric(observed == "+") is used.
The text was updated successfully, but these errors were encountered:
I got this behavior which looks like a bug. It appears both in the package from CRAN and in the latest version from GitHub. Here is a reproducible example:
Notice that
sensitivity()
accepts a factor as input but the same is not valid forspecificity()
. Usingas.numeric(observed)
doesn't work, but it is ok ifas.numeric(observed == "+")
is used.The text was updated successfully, but these errors were encountered: