pdp: A general framework for constructing partial dependence (i.e., marginal effect) plots from various types machine learning models in R.
Useful links