powered by
Utility function (hack) to convert calls such as y~x to their character equivalent
call.to.char(x)
a character vector of length 1
a formula (call)
Ben Bolker
It would be nice if as.character(y~x) gave "y~x", but it doesn't, so this hack achieves the same goal
as.character(y~x)
as.character(y~x) call.to.char(y~x)
Run the code above in your browser using DataLab