powered by
Obtains the response term from the formula
getResponse(f)
formula from which term is to be extracted.
The response variable in the formula as a string
This is a helper function to extract the response variable from a formula
# NOT RUN { library(analysisPipelines) getResponse(y ~ x1 + x2) # }
Run the code above in your browser using DataLab