This repository includes the R code for a Payment for Ecosystem services projects. It cleans and merges two databases and performs a probit analysis of the dataset. The database is not publicly available.