pchange: Title

Description Usage Arguments Value

View source: R/percent-change.R

Description

Title

Usage

1
pchange(dat, k = 1, trading_days = FALSE)

Arguments

dat

a tibble

k

number of periods over which to calculate the percentage change or a character coercible to a date (YYYY-MM-DD)

trading_days

logical. Should compare date be revised to fall on the most recent prior trading day.

Value

a tibble


davidallen02/pamngr documentation built on Sept. 2, 2021, 3:29 a.m.