This package creates plots using quantile binning.

Details

Quantile binning is an exploratory data analysis tool that helps to see the distribution of the variables in a dataset as a function of the variable that is binned.

A data.frame is quantile binned on a variable x using qbin() and then plotted with one of the avaible plot functions.

qbinplots offers various types of plots:

  • qbin_* quantile binned plots that show the distribution of the variables in the quantile bins.

  • cond_* conditional quantile plots that show the distribution of the variables conditional on the x variable.

Quantile binned plots

Conditional (quantile binned) plots

  • cond_boxplot() shows the distribution of the variables conditional on the x variable.

  • cond_barplot() shows the expected median/mean of the variables conditional on the x variable.

  • funq_plot() shows a functional view of the data, plotting the median and interquartile range of numerical variables and level frequency of the other variables as a function of the x variable using quantile bins.

Author

Maintainer: Edwin de Jonge edwindjonge@gmail.com (ORCID)

Other contributors: