knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

palint

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.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("Ischi94/palint")

Example

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")


Ischi94/palint documentation built on Feb. 7, 2021, 4:37 a.m.