Learn R Programming

lavaSearch2 (version 2.0.3)

convFormulaCharacter: formula character conversion

Description

Conversion of formula into character string or vice versa

Usage

formula2character(f, type = "formula")

Arguments

f

a formula.

type

should the normal formula operator be used ("formula") or the one of lava.option ("symbols" or "symbol").

Examples

Run this code
formula2character(Y1~X1+X2)
formula2character(Y1~X1+X2, type = "symbols")

Run the code above in your browser using DataLab