form_resp | R Documentation |
This is the counterpart of rsample::form_pred.
form_resp(x)
x |
a formula |
Note: this might not behave well with functions such as log(y). But neither does rsample::form_pred.
modified from https://stackoverflow.com/questions/13217322/how-to-reliably-get-dependent-variable-name-from-formula-object
character the name of the response
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.