call.to.char | R Documentation |
Utility function (hack) to convert calls such as y~x to their character equivalent
call.to.char(x)
x |
a formula (call) |
It would be nice if as.character(y~x)
gave "y~x", but it doesn't, so this hack achieves
the same goal
a character vector of length 1
Ben Bolker
as.character(y~x)
call.to.char(y~x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.