Learn R Programming

growR (version 1.3.0)

+.FunctionalGroup: Addition of two functional groups

Description

Addition occurs by adding all FG parameters separately.

Usage

# S3 method for FunctionalGroup
+(A, B)

Value

C A FunctionalGroup object where each value is the sum of the respective values in A and B.

Arguments

A

First functional group.

B

Second functional group.

Examples

Run this code
fg1 = FunctionalGroup$new()
fg2 = FunctionalGroup$new(SLA = 0.02)
fg1 + fg2

Run the code above in your browser using DataLab