Description Usage Arguments Value
View source: R/pilot_assessment_functions.R
Called from within target_assess_this. Calculates the number of years until the target is reached for a single indicator, using the formula: $$ years = abs(log(final_value/temp_target)/log(1 + rate_of_change)) years = abs(log(final_value/temp_target)/log(1 + rate_of_change)) see https://intl.siyavula.com/read/maths/grade-12/finance/03-finance-01 for more information
1 2 3 4 5 6 | years_until_target_reached(
rate_of_change,
final_value,
temp_target,
temp_target_trend
)
|
rate_of_change |
output from trend_assess_this or target_assess_this |
final_value |
output from trend_assess_this or target_assess_this |
temp_target |
output from target_assess_this |
temp_target_trend |
output from target_assess_this |
number of years (integer)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.