readXL | R Documentation |
readXL
reads an Excel file, either of type .xls
or .xlsx
into an R data frame; it provides
a front end to the read_excel
function in the readxl package.
excel_sheets
is re-exported from the readxl package and reports the
names of spreadsheets in an Excel file.
readXL(file, rownames = FALSE, header = TRUE, na = "", sheet = 1,
stringsAsFactors = FALSE)
excel_sheets(path)
file, path |
path to an Excel file. |
rownames |
if |
header |
if |
na |
character string denoting missing data; the default is the empty string, |
sheet |
number of the spreadsheet in the file containing the data to be read; the
default is |
stringsAsFactors |
if |
a data frame
John Fox jfox@mcmaster.ca
read_excel
, excel_sheets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.