longSCDF: Creating long single-case data frames from several...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/scan.R

Description

The longSCDF function transposes a list of single-case data frames (wide) into one (long) data frame.

Usage

1
longSCDF(data, l2 = NULL, id = "case", model = NULL, ...)

Arguments

data

A list of single-case data frames

l2

-

id

-

model

-

...

-

Value

Returns one data frame with data of all single-cases structured by the variable 'case'.

Author(s)

Juergen Wilbert

See Also

makeSCDF, makesingleSC, writeSC

Examples

1
2
3
4
## Convert the list of three single-case data frames from Grosche (2011) into one long data frame
Grosche2011
Grosche2011_long <- longSCDF(Grosche2011)
Grosche2011_long

scan documentation built on Sept. 25, 2017, 3:01 p.m.