coordTransform: Coordinate transformation for data frames

Description Usage Arguments Value

View source: R/plots.R

Description

Applies a symbolically defined transformation to the value column of a data frame. Additionally, if a sigma column is present, those values are transformed according to Gaussian error propagation.

Usage

1
coordTransform(data, transformations)

Arguments

data

data frame with at least columns "name" (character) and "value" (numeric). Can optionally contain a column "sigma" (numeric).

transformations

character (the transformation) or named list of characters. In this case, the list names must be a subset of those contained in the "name" column.

Value

The data frame with the transformed values and sigma uncertainties.


dMod documentation built on Sept. 9, 2017, 1:03 a.m.