powered by
Distribution of response variable by segements/levels of a qualitative variable.
blr_segment_dist(data, response, predictor)# S3 method for blr_segment_dist plot(x, title = NA, xaxis_title = "Levels", yaxis_title = "Sample Distribution", sec_yaxis_title = "1s Distribution", bar_color = "blue", line_color = "red", ...)
# S3 method for blr_segment_dist plot(x, title = NA, xaxis_title = "Levels", yaxis_title = "Sample Distribution", sec_yaxis_title = "1s Distribution", bar_color = "blue", line_color = "red", ...)
A tibble or a data.frame.
tibble
data.frame
Response variable; column in data.
data
Predictor variable; column in data.
An object of class blr_segment_dist.
blr_segment_dist
Plot title.
X axis title.
Y axis title.
Secondary y axis title.
Bar color.
Line color.
Other inputs.
A tibble.
Other bivariate analysis procedures: blr_bivariate_analysis, blr_segment_twoway, blr_segment, blr_woe_iv_stats, blr_woe_iv
blr_bivariate_analysis
blr_segment_twoway
blr_segment
blr_woe_iv_stats
blr_woe_iv
# NOT RUN { k <- blr_segment_dist(hsb2, honcomp, prog) k # plot plot(k) # }
Run the code above in your browser using DataLab