Description Usage Arguments Details Author(s) See Also Examples
xpssFrame creates a dataset as an xpssFrame object from a local file.
1 |
x |
as character string with the name of the file. |
... |
Arguments to pass on read.spss() from foreign. |
x
the input data should be of the format .sav.
The SPSS dataset contains the following attributes: names
, codepage
, row.names
, FILTER
, TEMPORAY
, SPLIT_FILE
, DO_IF
, SELECT_IF
, WEIGHTS
, class
Attribute | Type | Contain | |
names | atomic character or character vector | Name of the variable in the dataset | |
codepage | atomic numeric | ANSI code, which describe the encoding | |
row.names | atomic numeric or numeric vector | row ID's | |
FILTER | atomic logical or condition | Filtercondition or FALSE if xpssFilter is off |
|
TEMPORARY | atomic logical | Logical statement if xpssTemporary is on or off |
|
SPLIT_FILE | atomic logical | Split-File condition or FALSE if xpssSplitFile is off |
|
DO_IF | atomic logical or condition | Do-If-condition or FALSE if xpssDoIf is off |
|
SELECT_IF | atomic logical or condition | Select-If-condition or FALSE if xpssSelectIf is off |
|
WEIGHTS | atomic character | * will be implemented in a following update | |
class | atomic character or character | atomic or vector of names of classes the datasets inherits from. | |
Variable attributes are stored in the variable itself. A variable can have the following attributes:
defined.MIS
, MIS
, value.labels
, variable.label
, varname
Attribute | Type | Contain | |
defined.MIS | Atomic numerics or atomic characters, respectively a numeric vector or character vector | Values which specify missing values | |
MIS | list with user-defined missings | POS contain the position of the user-defined missing, VAL the value of the user defined-missing | |
value.labels | Named numeric or named character | Value and label for a specific variable | |
variable.label | Atomic character | Label of the variable | |
varname | Atomic character | Name of the variable in the datasheet | |
Andreas Wygrabek
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.