Learn R Programming

bioRad (version 0.5.1)

example_vpts: Example object of class vpts

Description

Example of a vpts object (a time series of vertical profiles) with name example_vpts.

Usage

example_vpts

Arguments

Format

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

Examples

Run this code
# NOT RUN {
# get summary of example vpts:
summary(example_vpts)

# example_vpts was created with:
# }
# NOT RUN {
vptsfile <- system.file("extdata", "vpts.txt.zip", package = "bioRad")
unzip(vptsfile, exdir = (dirname(vptsfile)), junkpaths = T)
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