read.list | R Documentation |
Read a file (one or two columns) and creates a vector (named if two-column file)
read.list(filename, header = TRUE, stringsAsFactors = FALSE,
trunc = FALSE, ...)
filename |
Name of the file |
header |
boolean, TRUE if the file contains the header of the data |
stringsAsFactors |
default FALSE |
trunc |
default FALSE |
... |
other parameters can be passed to utils::read.table |
a vector or a named vector if there are headers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.