getResponse {analysisPipelines} | R Documentation |
Obtains the response term from the formula
getResponse(f)
f |
formula from which term is to be extracted. |
This is a helper function to extract the response variable from a formula
The response variable in the formula as a string
library(analysisPipelines) getResponse(y ~ x1 + x2)