rename_interpolated_xs: Rename Interpolated Cross Sections

Description Usage Arguments Details Value Examples

View source: R/main.r

Description

Rename the identifiers of interpolated cross sections.

Usage

1

Arguments

d

A data table containing interpolated cross section data.

Details

Interpolated cross sections are identified by the presence of a '*' in the column name or value of the "Station" column (for long-format data). The '*' symbol can interfere with certain selections or data manipulations. This function removes the '*' symbol from the Station identifiers.

Value

The data frame d with reformatted identifiers for interpolated cross sections.

Examples

1
2
3
4
simple.quasi = system.file("sample-data/SampleQuasiUnsteady.hdf",
  package = "RAStestR")
quasi.flow = read_standard(simple.quasi, "Flow")
rename_interpolated_xs(quasi.flow)

mkoohafkan/RAStestR documentation built on July 14, 2019, 11:41 p.m.