gen_start_bin: Generate start bin vector

View source: R/bin_funcs.R

gen_start_binR Documentation

Generate start bin vector

Description

This generates a vector of bin numbers at the start of each row on a global grid, given the number of rows. Example: For 4km resolution, 4320 rows; for 9km resolution, 2160 rows

Usage

gen_start_bin(nrows = gen_nrows("4"))

Arguments

nrows

Number of rows in the resulting global raster of bin numbers. See ?gen_nrows to generate the appropriate number of rows for your selected resolution.

Value

Numeric vector of starting bins.


BIO-RSG/oceancolouR documentation built on April 15, 2024, 1:48 a.m.