ez.readt | R Documentation |
read.csv
read csv table/text, wrapper of read.csv
ez.readt(file, ..., skip.rows = NULL, tolower = FALSE, makenames = TRUE)
... |
more useful parameters from |
skip.rows |
rows to skip (1 based) before read in, eg 1:3, if negative,eg, -3:-5, counting from the last line |
tolower |
whether to convert all column names to lower case |
makenames |
if F, keep as is. if T, call make.names(unique=TRUE,allow_=TRUE) _ kept, The character "X" is prepended if necessary. All invalid characters are translated to "." .1 .2 etc appended for uniqueness |
returns a data frame
read.table(file, header = FALSE, sep = "",
dec = ".", numerals = c("allow.loss", "warn.loss", "no.loss"),
row.names, col.names, as.is = !stringsAsFactors,
na.strings = "NA", colClasses = NA, nrows = -1,
skip = 0, check.names = TRUE, fill = !blank.lines.skip,
strip.white = FALSE, blank.lines.skip = TRUE,
comment.char = "#",
allowEscapes = FALSE, flush = FALSE,
stringsAsFactors = default.stringsAsFactors(),
fileEncoding = "", encoding = "unknown", text, skipNul = FALSE)
read.csv(file, header = TRUE, sep = ",",
dec = ".", fill = TRUE, comment.char = "", ...)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.