calc_growth: Calculate Growth

Description Usage Arguments Value

View source: R/calculate.R

Description

This function calculates the growth of one value over another while ensuring there are no adverse results such as NA, NAN, or Inf. It also attempts to avoid the issue of returning infinitely small, non-zero, values by rounding each value to two decimals first.

Usage

1

Arguments

x

numeric value, or vector

y

numeric value, or vector

Value

numeric value, or vector


cadenceinc/yolanda documentation built on Sept. 15, 2020, 5:20 a.m.