get_quantity | R Documentation |
vp
) or time series of vertical
profiles (vpts
)Returns values for the selected quantity from a vertical profile (vp
),
list, or time series of vertical profiles (vpts
). Values are organized per
height bin. Values for eta
are set to 0
, dbz
to -Inf
and ff
, u
,
v
, w
, dd
to NaN
when the sd_vvp
for that height bin is below the
sd_vvp_threshold()
.
get_quantity(x, quantity)
## S3 method for class 'vp'
get_quantity(x, quantity = "dens")
## S3 method for class 'list'
get_quantity(x, quantity = "dens")
## S3 method for class 'vpts'
get_quantity(x, quantity = "dens")
x |
A |
quantity |
Character. A (case sensitive) profile quantity, one of:
|
the value of a specific profile quantity specified in quantity
.
For a vp
object: a named (height bin) vector with values for the
selected quantity.
For a list
object: a list of named (height bin) vectors with values
for the selected quantity.
For a vpts
object: a (height bin * datetime) matrix with values for
the selected quantity.
summary.vp()
sd_vvp_threshold()<-
for setting the sd_vvp
threshold of an object.
# Extract the animal density (dens) quantity from a vp object
get_quantity(example_vp, "dens")
# Extract the horizontal ground speed (ff) quantity from a vpts object and show the
# first two datetimes
get_quantity(example_vpts, "ff")[,1:2]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.