| vap.data.frame | R Documentation | 
Annual percent change For use with do function from dplyr. df Some problems with Inf values in y were observed.
## S3 method for class 'data.frame'
vap(df, x, y, tests = F)
| tests | logical: if TRUE computes p-value for lineal model tests. See Details. | 
| df: | data.frame with data. | 
| x: | year | 
| y: | rate | 
Lineal model tests: SW = residual normality by Shapiro Wilks. BP: Performs the Breusch-Pagan test against heteroskedasticity. HC: Harvey-Collier test for linearity. DW: Computes bootstrapped p-values for residual autocorrelations and generalized Durbin-Watson statistics.
data.frame. vap: annual percent change. lwr: lower IC 95%. upr: upper IC 95%.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.