knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of palint
is to have a package with helper functions to calculate palaeoclimate interactions. It is currently used privately but the goal is to add all functions I have used in the past in here.
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("Ischi94/palint")
The package currently contains one function: perc_change
. It calculates the percentage change between two values:
library(palint) perc_change(2, 4)
The default returns the raw value, but by changing the print.result
parameter we can get the raw value expressed as percentage or in a text description:
perc_change(2, 4, "percentage")
perc_change(2, 4, "text")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.