tscale: Convert averaging length code to hours

Description Usage Arguments Value Examples

Description

Period durations are calculated by the lubridate package.

Usage

1
tscale(x, nyears = 30)

Arguments

x

Vector of the averaging period codes

nyears

Overall number of years - used for conversion of the overall mean

Value

numerical vector of durations in hours

Examples

1
2
tscale('M1')
tscale('G1', nyears = 25)

musica documentation built on May 2, 2019, 10:14 a.m.