Learn R Programming

bioRad (version 0.6.2)

example_vpts: Time series of vertical profiles (vpts) example

Description

Example of a vpts object with name example_vpts.

Usage

example_vpts

Arguments

Format

An object of class vpts of dimension 1934 x 25 x 15.

See Also

  • summary.vpts()

Examples

Run this code
# Reload example_vpts from package (e.g. in case it was altered)
data(example_vpts)

# Get summary info
example_vpts

# example_vpts was created with
if (FALSE) {
vptsfile <- system.file("extdata", "vpts.txt.zip", package = "bioRad")
unzip(vptsfile, exdir = (dirname(vptsfile)), junkpaths = TRUE)
vptsfile <- substr(vptsfile, 1, nchar(vptsfile) - 4)
example_vpts <- read_vpts(vptsfile, radar = "KBGM", wavelength = "S")
rcs(example_vpts) <- 11
sd_vvp_threshold(example_vpts) <- 2
example_vpts$attributes$where$lat <- 42.2
example_vpts$attributes$where$lon <- -75.98
save(example_vpts, file = "data/example_vpts.rda", compress = "xz")
}

Run the code above in your browser using DataLab