Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

next2

Next Power of Two


Description

Return next power of two greater than n

Usage

next2(x)

Arguments

x

length of vector

Value

integer value

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

Examples

k <- 1236
next2(k)

RSEIS

Seismic Time Series Analysis Tools

v3.9-3
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Jake Anderson [ctb], Leonard Lisapaly [ctb], Dave Harris [aut, cph]
Initial release
2020-08-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.