xpssNofCases: Selects the first n rows of the dataset

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/xpssNOfCases.R

Description

R implementation of the SPSS N OF CASES argument.

Usage

1

Arguments

x

input data.

n

atomic numeric with the value of n.

Details

xpssNofCases can be used to select via command the first N cases in the data file. xpssNofCases permanently modifies the data set. NOTE: For temporary case selection, specify xpssTemporary before xpssNofCases.

Value

Output is the narrowed dataset.

Author(s)

Bastian Wiessner

See Also

Related Functions drop subset

Examples

1
2

translateSPSS2R documentation built on May 30, 2017, 4:31 a.m.