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)

ir-sfsu/intermittent documentation built on Jan. 2, 2022, 6:42 a.m.