Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/as.character.formula.R
Convers a formula to character representaion
1 2 | ## S3 method for class 'formula'
as.character(x, ...)
|
x |
formula object |
... |
further arguments passed to or from other methods. |
Coerces formula to a character by deparsing.
A character vector
Christopher Brown
1 2 3 4 5 6 | as.character( y ~ mx + b )
## The function is currently defined as
function(x)
Reduce( paste, deparse(x) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.