readExcelSheet
Function reads data from an Excel file from a specified sheet
readExcelSheet(path, sheet, colNames)
path
: Path to an Excel file, e.g. /User/lma/datasets/MyDataSet.xlssheet
: Name of a sheet within an Excel file we want to readcolNames
: If TRUE, first row of data will be used as column names.myPath <- system.file("extdata", "DataSet.xlsx", package = "reproducer") Madeyski15SQJ.NDC <- readExcelSheet(path = myPath, sheet = "Madeyski15SQJ.NDC", colNames = TRUE)
Lech Madeyski