Skip to contents

Event rate across two qualitative variables.

Usage

blr_segment_twoway(data, response, variable_1, variable_2)

# Default S3 method
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

Other bivariate analysis procedures: blr_bivariate_analysis(), blr_segment(), blr_segment_dist(), blr_woe_iv(), blr_woe_iv_stats()

Examples

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