General Monotone Model in R