View source: R/detect_boundary.R
detect_boundary_cat | R Documentation |
Detect viable domains for categorical variables
detect_boundary_cat(x, ..., as_df = FALSE)
x |
|
... |
not used |
as_df |
return result as data.frame (before 0.4.5) |
data.frame
with columns $variable
, $value
, $min
, $max
. Each row is a
category/value of a categorical variable.
Other feasibility:
detect_boundary_num()
,
detect_infeasible_rules()
,
is_contradicted_by()
,
is_infeasible()
,
make_feasible()
rules <- validator(
x >= 1,
x + y <= 10,
y >= 6
)
detect_boundary_num(rules)
rules <- validator(
job %in% c("yes", "no"),
if (job == "no") income == 0,
income > 0
)
detect_boundary_cat(rules)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.