friction_period {tatooheene} | R Documentation |
A function to download the friction period over one or multiple years
Description
Usage
friction_period(year = "all", period = "all", type = "5_year_avg")
Arguments
year |
The year of which the friction period should be downloaded, multiple years are possible. The default is the whole data frame |
period |
The friction period that should be included (days/weeks), default is including the whole dataframe |
type |
If period is chosen, a decision can be made between the 5 year average and 1 year friction period in days/weeks. The default is the 5 year average |
Value
A data frame with friction periods for all years or a selection of years and variables.
Examples
# Example usage of the depreciation_interest function
friction_period(year = 2019, period = "weeks", type = "5_year_avg")
[Package tatooheene version 0.19.0 Index]