orig2t {BMisc} | R 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
[Package BMisc version 1.4.8 Index]