Learn R Programming

assemblerr (version 0.1.1)

dcl_add: Arithmetically combine declarations

Description

These functions allow to combine two declarations using addition, substraction, multiplication, or division.

Usage

dcl_add(dcl1, dcl2, lhs = dcl_id(dcl1))

dcl_substract(dcl1, dcl2, lhs = dcl_id(dcl1))

dcl_multiply(dcl1, dcl2, lhs = dcl_id(dcl1))

dcl_devide(dcl1, dcl2, lhs = dcl_id(dcl1))

Arguments

dcl1

A declaration

dcl2

A declaration

lhs

List of expressions for the left-hand side of the resulting declaration

Value

A declaration

Functions

  • dcl_add: Addition of the declarations

  • dcl_substract: Substraction of the declarations

  • dcl_multiply: Multiplications of the declarations

  • dcl_devide: Division of the declarations