add_negated_powers: Create a sequence of negative powers on a closed interval

Description Usage Arguments Value Note Examples

View source: R/range.R

Description

Calls add_powers to produce sequences of negative powers. This function will only produce sequences of negative integers.

Usage

1
add_negated_powers(lo, hi, mult = 8)

Arguments

lo

bottom of the interval

hi

top of the interval

mult

multiplier

Value

an integer vector

Note

This is not intended to be called directly by users, but it is exported in case it is useful to be imported into another package.

Examples

1
add_negated_powers(lo = -bitwShiftL(a = 8, n = 10), hi = -8, mult = 8)

slwu89/ranges documentation built on Dec. 23, 2021, 3:25 a.m.