get_breaks: Compute spatial breaks of distance bins used by the function...

View source: R/vario.R

get_breaksR Documentation

Compute spatial breaks of distance bins used by the function vario()

Description

Compute spatial breaks of distance bins used by the function vario()

Usage

get_breaks(breaks, hmin, hmax, maxDist, log = FALSE)

Arguments

breaks

either a vector of breaks or an integer number of breaks to compute. If a vector of breaks is supplied then the function returns that exact same vector back.

hmin

minimum distance of interest

hmax

maximum distance of interest

maxDist

maximum possible distance (greater or equal to hmax)

log

boolean, if true the breaks are equidistance on a log scale

Examples

get_breaks(4, 1, 16, 16)
get_breaks(4, 1, 16, 16, log=T)

mcglinnlab/vario documentation built on Feb. 22, 2023, 1:49 p.m.