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

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


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.