Sets the threshold for sd_vvp
. Altitude layers with sd_vvp
below this threshold are assumed to have an aerial density of zero
individuals. This method updates the migration densities
in x$data$dens
sd_vvp_threshold(x) <- value# S3 method for vp
sd_vvp_threshold(x) <- value
# S3 method for list
sd_vvp_threshold(x) <- value
# S3 method for vpts
sd_vvp_threshold(x) <- value
a vp
, list of vp
or vpts
object
the value to assign
See also sd_vvp_threshold for retrieving an objects radial velocity standard deviation.
# NOT RUN {
# load example data:
data(example_vp)
data(example_vpts)
# change or set the threshold for a single vertical profile:
sd_vvp_threshold(example_vp) <- 2
# change or set the threshold for a vertical profile time series:
sd_vvp_threshold(example_vp) <- 2
# retrieve threshold for a single vertical profile:
sd_vvp_threshold(example_vp)
# retrieve threshold for a vertical profile time series:
sd_vvp_threshold(example_vpts)
# }
Run the code above in your browser using DataLab