merge_object: Merge redundant objects into one

Description Usage Arguments Details Value Examples

Description

Merge redundant objects into one

Usage

1

Arguments

idf

An eplusr::Idf object

class

A character vector of class names in current eplusr::Idf. If NULL, all classes in current eplusr::Idf object will be used.

Details

Redundant objects here refer to objects that have different names but all other field values are the same.

merge_object() will only keep the first object and remove all redundant objects. The field value references are handled automatically, i.e. all field values that originally refer to the redundant objects will be redirected to the object that is kept.

Value

The modified object itself, invisibly

Examples

1
2
3
4
## Not run: 
merge_object(idf, "ScheduleTypeLimits")

## End(Not run)

hongyuanjia/eplusbuildr documentation built on Jan. 11, 2020, 2:05 a.m.