Learn R Programming

jwutil (version 1.2.3)

affixFields: update a set of data frame field names

Description

prefix or suffix

Usage

affixFields(fields, affix, skip = NULL, renameHow = c("suffix",
  "prefix"), sep = ".")

Arguments

fields

char vector

affix

character

skip

char vector, defaults to include all fields

renameHow

should be "suffix" or "prefix", default is suffix

sep

default "."

Value

character vector, same length as fields