The goal of quantilogram is to measure nonlinear dependence between two variables, based on either unconditional or conditional quantile functions.
You can install the released version of quantilogram from CRAN with:
This is a basic example which shows you how to solve a common problem: