tscale {musica}R Documentation

Convert averaging length code to hours

Description

Period durations are calculated by the lubridate package.

Usage

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

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

[Package musica version 0.1.3 Index]