elrReadData {EffectLiteR} | R Documentation |
Read Data File
Description
Tries to determine the format of the data by the file ending and
chooses the appropriate function to read data. Currently supports .csv,
.dat, .txt, .sav, and .xpt and calls read.csv
, read.csv2
,
read.table
, read.spss
,
read.xport
accordingly. The default values for
arguments depend on the function used to read data.
Usage
elrReadData(
file,
name = NULL,
header = "default",
sep = "default",
dec = "default",
use.value.labels = "default",
na.strings = "NA"
)
Arguments
file |
Name of the file to read. |
name |
Pure file name (without path to file) to read.
If |
header |
See |
sep |
See |
dec |
See |
use.value.labels |
See |
na.strings |
See |
Value
Object of class "data.frame"
.
[Package EffectLiteR version 0.4-6 Index]