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

Description Usage Arguments Value Author(s) See Also

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



Search within the translateSPSS2R package
Search all R packages, documentation and source code

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

Please suggest features or report bugs with the GitHub issue tracker.

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