xpssFlip: Flips variables

Description Usage Arguments Value Author(s) See Also Examples

View source: R/xpssFlip.R

Description

R Implementation of the SPSS FLIP Function.

Usage

1
xpssFlip(x, variables = "all", names = NULL)

Arguments

x

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

variables

atomic character or character vector with the names of the variables to flip

names

atomic character with the name of the variable for coloumn names.

Value

A flipped, respectively transposed xpssFrame object.

Author(s)

Bastian Wiessner

See Also

t

Examples

1
2
data(fromXPSS)
xpssFlip(x=fromXPSS,variables=c("V4","V5","V6"),names="V1")

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