Learn R Programming

bioRad (version 0.9.1)

read_vpfiles: Read a vertical profile (vp) or a list of vertical profiles (vp) from files

Description

Read a vertical profile (vp) or a list of vertical profiles (vp) from files

Usage

read_vpfiles(files)

Value

A single vp object or a list of vp objects.

Arguments

files

A character vector containing the file names of vertical profiles in ODIM HDF5 format generated by calculate_vp.

Examples

Run this code
# locate example profile file:
vpfile <- system.file("extdata", "profile.h5", package = "bioRad")

# print the local path of the profile file:
vpfile

# load the file:
read_vpfiles(vpfile)

# to load multiple files at once:
read_vpfiles(c(vpfile, vpfile))

Run the code above in your browser using DataLab