blockbust: The deterioration of more than one blockbuster rows through...

Description Usage Arguments Value Examples

View source: R/deteriorate.R

Description

The deterioration of more than one blockbuster rows through one time period.

Usage

1
blockbust(blockbuster_tibble)

Arguments

blockbuster_tibble

a blockbuster dataframe or tibble.

Value

A tibble containing the unit_area and condition of the element sub_element constr_type combination after one time period. Duplicating all other variables and values. The timestep also increases by one. The output tibble can be up to twice the number of rows of the input tibble. Accordingly this function merges to reduce the number of rows if possible, whereby there should be a max of six (one for each grade state) rows per elementid. This function is built using a for loop and the det_eriorate function.

Examples

1
2
3
4
## Not run: 
one_year_later <- blockbust(dplyr::filter(blockbuster_pds, buildingid == 127617))

## End(Not run)

DFE-Capital/blockbuster documentation built on March 19, 2018, 4:09 a.m.