declaration: Declaration

Description Usage Arguments Value Examples

View source: R/declaration-creation.R

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

1

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

1
2
d <- declaration(cl~theta[1]+eta[1])
d2 <- declaration(v=theta[2]*exp(eta[2]))

assemblerr documentation built on Jan. 13, 2022, 1:07 a.m.