Learn R Programming

bioRad (version 0.5.1)

get_quantity: Get a quantity of a vertical profile (vp) or time series of vertical profiles (vpts)

Description

Get a quantity of a vertical profile (vp) or time series of vertical profiles (vpts)

Usage

get_quantity(x, quantity)

# S3 method for vp get_quantity(x, quantity = "dens")

# S3 method for list get_quantity(x, quantity = "dens")

# S3 method for vpts get_quantity(x, quantity = "dens")

Arguments

x

A vp or vpts object.

quantity

A profile quantity, one of:

  • "height"

  • "u"

  • "v"

  • "w"

  • "ff"

  • "dd"

  • "sd_vvp"

  • "gap"

  • "dbz"

  • "eta"

  • "dens"

  • "DBZH"

  • "n"

  • "n_all"

  • "n_dbz"

  • "n_dbz_all"

Value

class vp: a named vector for the requested quantity.

class list: a list of a named vectors for the requested quantity.

class vpts: a (height x time) matrix of the requested quantity.

Details

This function grabs any of the data quantities stored in vp or vpts objects. See the documentation of the vertical profile vp class for a description of each of these quantities.

Examples

Run this code
# NOT RUN {
# load example profile
data(example_vp)

# extract the animal density ("dens") quantity:
get_quantity(example_vp, "dens")
# }

Run the code above in your browser using DataLab