readExcelSheet: readExcelSheet

Description Usage Arguments Author(s) Examples

View source: R/reproducer.R

Description

Function reads data from an Excel file from a specified sheet

Usage

1
readExcelSheet(path, sheet, colNames)

Arguments

path

Path to an Excel file, e.g. /User/lma/datasets/MyDataSet.xls

sheet

Name of a sheet within an Excel file we want to read

colNames

If TRUE, first row of data will be used as column names.

Author(s)

Lech Madeyski

Examples

1
2
myPath=system.file("extdata", "DataSet.xlsx", package = "reproducer")
Madeyski15SQJ.NDC<-readExcelSheet(path=myPath, sheet="Madeyski15SQJ.NDC", colNames=TRUE)

reproducer documentation built on May 29, 2017, 12:08 p.m.

Search within the reproducer package
Search all R packages, documentation and source code