Learn R Programming

scan (version 0.53)

combine: Combine single-case data frames

Description

Combine single-case data frames

Usage

combine(..., dvar = NULL, pvar = NULL, mvar = NULL)

# S3 method for scdf c(...)

Arguments

...

scdf objects

dvar

Character string. Name of the dependent variable. Defaults to the dependent variable of the first case provided.

pvar

Character string. Name of the phase variable. Defaults to the phase variable of the first case provided.

mvar

Character string. Name of the measurement-time variable. Defaults to the measurement-time variable of the first case provided.

Value

A scdf. If not set differently, the attributes of this scdf are copied from the first scdf provided (i.e the first argument of the function).