getters: Get the next or last n terms

Description Usage Arguments Value Examples

Description

Get the next or last n terms

Usage

1
2
3
get_next(x, n, keep = NA)

get_last(x, n, keep = NA)

Arguments

x

an object of class 'term'

n

how many terms

keep

which terms to keep (ending character)

Value

term sequence

Examples

1
2
3
4
x <- term(20164)
get_next(x, 5)
get_next(x, 10, keep = "4")
get_last(x, 5)

daranzolin/intermittent documentation built on Dec. 26, 2021, 3:17 a.m.