View source: R/read.csv.folder.r
read.csv.folder | R Documentation |
imports all data files contained in a specified folder.
read.csv.folder(
folder,
x,
y = 2:4,
rownames = NULL,
header = TRUE,
dec = ".",
sep = ";",
pattern = "csv",
addSpec = NULL,
back = TRUE
)
folder |
character: path to folder |
x |
either a vector specifiing which rows are to be imported, or character vector containing variable names to be sought for. |
y |
a vector specifiing, which columns of the speradsheet ist to be imported. |
rownames |
integer: specifies columns, where variable names are stored. |
header |
logical : if spreadsheet contains header-row. |
dec |
character: defines decimal sepearator. |
sep |
character: defines column seperator. |
pattern |
character: specify file format (e.g. csv). |
addSpec |
character: add a custom specifier to the dimnames of the array. |
back |
logical: where to place the specifier. |
arr |
array containing imported data |
NAs |
vector containing position of observations with NAs |
NA.list |
list: containing vectors containing information which LMs are missing in which observation |
Stefan Schlager
read.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.