Description Usage Arguments Value Examples
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
.
1 | RebuildBlock(element.data, buildingids)
|
element.data |
An element-level data frame. |
buildingids |
A numeric vector identifying the |
An element-level data frame with updated grades.
1 2 | # Rebuild the block with buildingid 11
blockbuster2:::RebuildBlock(simulated_elements, 11)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.