R/sd_vvp_threshold.R
sd_vvp_threshold-set.Rd
Sets the threshold of radial velocity standard deviation (sd_vvp
) of an
object in m/s. Altitude layers with sd_vvp
below this threshold are assumed
to have an aerial density of zero individuals. This function also updates the
migration densities in x$data$dens
to eta
/rcs
when above
sd_vvp_threshold
and 0
if below.
sd_vvp_threshold(x) <- value
# S3 method for class 'vp'
sd_vvp_threshold(x) <- value
# S3 method for class 'list'
sd_vvp_threshold(x) <- value
# S3 method for class 'vpts'
sd_vvp_threshold(x) <- value
The input object with updated density x$data$dens
and sd_vvp_thresh
attribute.
sd_vvp_threshold()
for getting the sd_vvp
threshold of an object.
# Set the sd_vvp threshold for a vp
vp <- example_vp
sd_vvp_threshold(vp) <- 2
# Set the sd_vvp threshold for a vpts
vpts <- example_vpts
sd_vvp_threshold(vpts) <- 2