R/GRASS function to create  response plots