next2: Next Power of Two

Description Usage Arguments Value Author(s) Examples

Description

Return next power of two greater than n

Usage

1
next2(x)

Arguments

x

length of vector

Value

integer value

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

Examples

1
2
k <- 1236
next2(k)


Search within the RSEIS package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.