to.gadget.formulae: Turn R expression into GADGET formulae string

View source: R/gadgetformulae.R

to.gadget.formulaeR Documentation

Turn R expression into GADGET formulae string

Description

Turn R expression into GADGET formulae string

Usage

to.gadget.formulae(ex)

Arguments

ex

An unevaluated R expression or formulae, e.g. quote(2 + log(moo - 1)) or ~2 + log(moo - 1)

Value

A character vector representing the GADGET formulae, e.g. "(+ 2 (log (- #moo 1)))"


gadget-framework/rgadget documentation built on July 20, 2022, 12:16 p.m.