next.freq: Get Next Frequency

View source: R/generics_f.R

next.freqR Documentation

Get Next Frequency

Description

Use this function to get the next frequency.

Usage

next.freq(freq, count)

Arguments

freq

A frequency.

count

Determines the number of steps. If negative, it returns the previous frequency.

Value

The next frequency after the given frequency.

Examples

f <- f.yearly(2000)
fn <- next.freq(f, 10) # this is 2010

tdata documentation built on Nov. 7, 2023, 5:07 p.m.