ExcelColumns: give the column header (A or J or AC, etc) name in an excel...

Description Usage Arguments Details Examples

Description

give the column header (A or J or AC, etc) name in an excel file for

Usage

1
ExcelColumns(C, Shift = 0)

Arguments

C

a vector of integers giving the column numbers

Shift

the amount to add to C before returning the column name. This is useful when columns were stripped from the Excel file to get it into an R data frame. For example, if there were 15 columns in the Excel file that were dropped before reading the remaining columns, Shift would be 15

Details

As currently implemented, this can give values out to 18278 columns

Examples

1
2
ExcelColumns(11:18)
  ExcelColumns(11:18, Shift=10)

eriqande/swfsc.mega.tools documentation built on May 16, 2019, 8:48 a.m.