find_limit: Find the limit of a unilateral density distribution

Description Usage Arguments Details Value Author(s) See Also

View source: R/find_limit.R

Description

Find the limit of a unilateral density distribution

Usage

1
2
find_limit(BeamSeries, Threshold = 0.2, SlopeThreshold = 1e-04,
  SlopeWindow = 3)

Arguments

BeamSeries

a unilateral density distribution

Threshold

a threshold under which the density is considered nonurban

SlopeThreshold

the threshold under which the in SlopeWindow calculated mean of the slope is considered to be small

SlopeWindow

a forward looking search window in which the mean slope is evaluated

Details

Take a BeamSeries of density values of a beam and finds a plausible segmentation point, which can be considered the urban limit. The criterium for the point being: First point at which

  1. the value is lower than "Threshold" and

  2. the mean slope over the next SlopeWindow data points is lower than SlopeThreshold

If no point satisfies both conditions, NA is returned.

Value

Integer

Author(s)

Johannes Mast

See Also

find_limit_star


JohMast/UrbanStars documentation built on May 28, 2019, 8:58 p.m.