addBranch: Add a branch to a data.table

Description Usage Arguments Examples

View source: R/addConstrain.R

Description

Add a branch to a data.table

Usage

1
addBranch(domain, ptdf, ram, name = "CustomBranch")

Arguments

domain

data.frame | data.table

ptdf

list ptdf of new contrain, named list

ram

numeric ram of new contrain

name

character name of new contrain.

Examples

1
2
3
4
5
6
## Not run: 
PLAN2 <- addBranch(domain,
ptdf = list(AT = 0, BE = 1, DE = 0, FR = 0, NL = 0),
ram = -1000 )

## End(Not run)

rte-antares-rpackage/fbTools documentation built on July 25, 2019, 8:18 p.m.