Learn R Programming

assemblerr (version 0.1.1)

declaration: Declaration

Description

A declaration is the mathematical definition of a set of variables. It is the lowest level building block for a model in `assemblerr`. A declaration consists of the variable names being declared (the identifiers) and their definition. The `declaration` function allows the specification of a declaration using `R` formulae.

Usage

declaration(...)

Arguments

...

List of R formulae with a single symbol on the left-hand side and a valid R expression on the right

Value

A declaration vector

Examples

Run this code
# NOT RUN {
d <- declaration(cl~theta[1]+eta[1])
d2 <- declaration(v=theta[2]*exp(eta[2]))
# }

Run the code above in your browser using DataLab