| extractCaretTarget.formula | R Documentation | 
This function extracts the y variable from a set of arguments headed to a caret::train.formula model.
## S3 method for class 'formula'
extractCaretTarget(form, data, ...)
| form | A formula of the form y ~ x1 + x2 + ... | 
| data | Data frame from which variables specified in formula are preferentially to be taken. | 
| ... | ignored | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.