addsuffixes: Adds suffixes for daily maximum and minimum temperature to...

addsuffixesR Documentation

Adds suffixes for daily maximum and minimum temperature to the names of a column data frame

Description

Adds suffixes for daily maximum and minimum temperature to the names of a column data frame

Usage

addsuffixes(
  names = c("T0001", "T0099", "T0001", "T0099"),
  suffix = c("_Tx", "_Tn"),
  sep = ""
)

Arguments

names

a character string vector with column names

suffix

suffixes to add to the first and second groups of column names respectively

sep

separation element

Details

This function is used for data frames with duplicated field names

Value

the vector of names with suffixes added

See Also

getVARmodel

Examples

names <- addsuffixes()

ecor/RMAWGEN documentation built on Jan. 4, 2024, 5:56 p.m.