xpssSplitFile: Splits the data.frame into pieces by a factor

Description Usage Arguments Value Author(s) See Also

View source: R/xpssSplitFile.R

Description

R implementation of the SPSS SPLIT FILE argument

Usage

1
xpssSplitFile(x, by = NULL, type = "layered", attachSplit = FALSE)

Arguments

x

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

by

factor variable which splits the data frame.

type

character vector containing, either seperated or layered. Specifies the results from an analysis function applied on a splitted data frame. Default is "layered" design.

attachSplit

logical. Indicating if the splitted data should get attached to the object as an attribute. Default is "FALSE".

Value

The function return the input data with modified attributes.

Author(s)

Bastian Wiessner

See Also

xpssDoIf xpssFilter xpssSelectIf xpssSplitFileOff xpssTemporary


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