Learn R Programming

bioRad (version 0.5.1)

sd_vvp_threshold<-: Set threshold of the VVP-retrieved radial velocity standard deviation

Description

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

Usage

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

Run this code
# 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