The overall goal is to get a function which returns a percentage (Y) subject to a quantity (X). I want to know if there is any way I can do this in R. I know I want the func