call.to.char: Convert calls to character

Description Usage Arguments Details Value Author(s) Examples

View source: R/mle.R

Description

Utility function (hack) to convert calls such as y~x to their character equivalent

Usage

1

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

Author(s)

Ben Bolker

Examples

1
2

bbmle documentation built on Nov. 17, 2017, 6:42 a.m.