knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of CValternatives is calculate stuff.
The package can be installed from github using:
devtools::install_github("T-Engel/CValternatives")
Let's calculate the Proportional Variability index (PV) of a variable Z:
library(CValternatives) Z = c(2,3,4,5,6) PV(Z)
And now the Consecutive disparity index (D) of the same variable:
D(Z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.