mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 20:41:58 +02:00
is.rsi.eligible update
This commit is contained in:
2
R/rsi.R
2
R/rsi.R
@ -57,7 +57,7 @@
|
||||
#'
|
||||
#' # default threshold of `is.rsi.eligible` is 5%.
|
||||
#' is.rsi.eligible(WHONET$`First name`) # fails, >80% is invalid
|
||||
#' is.rsi.eligible(WHONET$`First name`, threhold = 0.9) # succeeds
|
||||
#' is.rsi.eligible(WHONET$`First name`, threshold = 0.9) # succeeds
|
||||
as.rsi <- function(x) {
|
||||
if (is.rsi(x)) {
|
||||
x
|
||||
|
Reference in New Issue
Block a user