Learn R Programming

translateSPSS2R (version 1.0.0)

xpssFilterOff: Ends a FILTER subset

Description

R implementation of the SPSS FILTER OFF Function.

Usage

xpssFilterOff(x)

Arguments

x
a (non-empty) data.frame or input data of class "xpssFrame".

Value

Output is the original dataset.

Details

xpssFilterOff terminates the filtering and merges the excluded data with the actual subset of the dataset. Important: All changes are used on the complete dataset, except for the function beeing an data exploring or data analyzing function.
Type of Function Example Function
Dataset Usage Data Management
xpssSelectIf Uses the complete dataset
Data Modifing xpssRecode Uses the complete dataset
Data Exploring xpssDescriptives
Uses the working dataset only Data Analyzing
xpssRegression Uses the working dataset only
NOTE: For temporary case selection, specify xpssTemporary before xpssDoIf.

Examples

Run this code
data(fromXPSS)

temp <- xpssDoIf(x=fromXPSS, cond = "V3 == 1")

temp <- xpssRecode(x=temp,variables="V5",rec="lo:78 = 1; else = 2")

temp <- xpssEndIf(x=temp)

Run the code above in your browser using DataLab