call.to.char: Convert calls to character

View source: R/mle.R

call.to.charR Documentation

Convert calls to character

Description

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

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

Author(s)

Ben Bolker

Examples

as.character(y~x)
call.to.char(y~x)

bbmle documentation built on May 29, 2024, 11:02 a.m.