| check_ok | R Documentation |
Returns a logical vector indicating whether a given check column equals "ok".
If the column does not exist in the data, all cases are treated as passing.
check_ok(data, col)
data |
A data frame containing plausibility check variables. |
col |
A character string specifying the column name to check for "ok" entries (case-sensitive). |
Used inside the plausicheck() function.
A logical vector of length nrow(data).
example_df <- data.frame(check_ip = c("ok", "nope", "ok", "OK"))
check_ok(example_df, "check_ip")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.