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

Arguments

x

a vp, list of vp or vpts object

value

the value to assign

Details

See also sd_vvp_threshold for retrieving an objects radial velocity standard deviation.

Examples

# 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)
#> [1] 2
# retrieve threshold for a vertical profile time series: sd_vvp_threshold(example_vpts)
#> [1] 2