convert_eurocordex_units: Convert units of columns of a data.frame with the udunits2...

Description Usage Arguments Value Examples

Description

All columns of 'data', which are listed in 'station_names', are converted from 'unit_in' to 'unit_out' with the help of the udunits2 package.

Usage

1
convert_eurocordex_units(data, station_names, unit_in, unit_out)

Arguments

data

data.frame: contains a column with data; columns indicated by 'station_names' are converted from 'unit_in' to 'unit_out'

station_names

character-array: contains names of the stations (columns of data), which units should be converted

unit_in

character: unit of the input data (FROM which should be converted)

unit_out

character: unit of the output data (TO which should be converted)

Value

data.from: same format as the

Examples

1
# see example in README

neumannd/eurocordex2swatTools documentation built on May 14, 2019, 2:17 p.m.