call.to.char
From bbmle v1.0.23.1
by Ben Bolker
Convert calls to character
Utility function (hack) to convert calls such as y~x to their character equivalent
- Keywords
- misc
Usage
call.to.char(x)
Arguments
- x
a formula (call)
Details
It would be nice if as.character(y~x)
gave "y~x", but it doesn't, so this hack achieves
the same goal
Value
a character vector of length 1
Examples
# NOT RUN {
as.character(y~x)
call.to.char(y~x)
# }
Community examples
Looks like there are no examples yet.