longframe: Transform a wide dataset into a long dataset.

Description Usage Arguments See Also Examples

Description

There is almost certainly a better way to do this. The aim here is to turn a wide dataset into a long dataset.

Usage

1
2
longframe(wide.data, btwnsubnames, wide.var.names, value.name = NA,
  dropcol = c())

Arguments

wide.data

The wide dataset

btwnsubnames

The between subject identifiers

wide.var.names

The variables that are in the wide format

value.name

unknown

dropcol

Columns to drop from the long format

See Also

widenames

Examples

1
widenames(c("Age","Workload"),c(2,2))

drknexus/repsych documentation built on May 15, 2019, 2:19 p.m.