View source: R/other_functions.R
logPercent | R Documentation |
This function makes sure that the level variable of interest increases/decreases, 10% i.e., while you are dealing with the log form.
logPercent(Variable, Percent)
Variable |
numeric. A numeric value or vector in logarithmic form. |
Percent |
numeric. A numeric value representing percentage increase in the level form. |
A value in the logarithmic form which makes sure that the level form value has increased by the specified percentage.
x <- 100
percent <- 10
log(x)
logPercent(log(x), percent)
exp(logPercent(log(x), percent))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.