Description Usage Arguments Value See Also Examples
Since changes to how the internal concated
variable is created
the function used to require this variable to be part of the input dataframe row.
However given more recent change to looking up det rates by elementid we can do away with this.
1 | det_eriorate(blockbuster_initial_state_row)
|
blockbuster_initial_state_row |
a blockbuster dataframe or tibble single row.
Can only accept one row at a time due to how |
A one (if row is condition E) or two row tibble containing
the unit_area
and condition of the element sub_element constr_type
combination after one time period. This is handled within the function
by creating two intermediary objects; same grade and different grade.
The ouput duplicates all other variables and values.
The timestep also needs to increase by one given deterioration has occurred.
1 | one_year_later <- det_eriorate(blockbuster_pds[1, ])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.