orig2t: orig2t

View source: R/BMisc.R

orig2tR Documentation

orig2t

Description

A helper function to switch from original time periods to "new" time periods (which are just time periods going from 1 to total number of available periods). This allows for periods not being exactly spaced apart by 1.

Usage

orig2t(orig, original_time.periods)

Arguments

orig

a vector of original time periods to convert to new time periods.

original_time.periods

vector containing all original time periods.

Value

new time period converted from original time period


bcallaway11/BMisc documentation built on Jan. 12, 2025, 9:11 a.m.