Event rate across two qualitative variables.

blr_segment_twoway(data, response, variable_1, variable_2)

# S3 method for default
blr_segment_twoway(data, response, variable_1, variable_2)

Arguments

data

A tibble or data.frame.

response

Response variable; column in data.

variable_1

Column in data.

variable_2

Column in data.

Value

A tibble.

See also

Examples

blr_segment_twoway(hsb2, honcomp, prog, female)
#> female #> ----------------------- #> prog 0 1 #> ----------------------- #> 1 0.010 0.025 #> ----------------------- #> 2 0.075 0.125 #> ----------------------- #> 3 0.005 0.025 #> -----------------------