RebuildBlock: Rebuild all elements in the given blocks.

Description Usage Arguments Value Examples

Description

This is a helper function used by Rebuild. It sets grade A to 1 for all blocks identified in the vector buildingids and sets all grades to 0 while not changing the grades of blocks not in buildingids.

Usage

1
RebuildBlock(element.data, buildingids)

Arguments

element.data

An element-level data frame.

buildingids

A numeric vector identifying the buildingid keys of the blocks to rebuild.

Value

An element-level data frame with updated grades.

Examples

1
2
# Rebuild the block with buildingid 11
blockbuster2:::RebuildBlock(simulated_elements, 11)

DFE-Capital/blockbuster2 documentation built on May 4, 2019, 1:08 p.m.