Description Usage Arguments Details Value Examples
View source: R/delete-response.R
delete_response() is exactly the same as delete.response(), except
that it fixes a long standing bug by also removing the part of the
"dataClasses" attribute corresponding to the response, if it exists.
1 |
terms |
A terms object. |
The bug is described here:
terms with the response sections removed.
1 2 3 4 5 | framed <- model_frame(Species ~ Sepal.Width, iris)
attr(delete.response(framed$terms), "dataClasses")
attr(delete_response(framed$terms), "dataClasses")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.