Learn R Programming

tdata (version 0.3.0)

next.freq: Get Next Frequency

Description

Use this function to get the next frequency.

Usage

next.freq(freq, count)

Value

The next frequency after the given frequency.

Arguments

freq

A frequency.

count

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

Examples

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

Run the code above in your browser using DataLab