combine_data {forceplate} | R Documentation |
Combine Data Tables
Description
Combine two data.table
s, either two force-plate data, two exeperimental data, or one
force-plate and one experimental data.
Usage
combine_data(
dt1,
dt2,
by = list(subj = "subj", block = "block", trial = "trial"),
continuous = FALSE
)
Arguments
dt1 |
A |
dt2 |
A |
by |
A list of three variable names in the experimental data that reflect the subj (subject number), block (block number), and trial (trial number) in the force-plate data. This argument is only necessary for combining experimental data with force-plate data. |
continuous |
A logical value. Default is |
Value
A data.table
either of the same class as dt1
and dt2
, if they
share the same class, or of the class dt.comb
.
Author(s)
Raphael Hartmann & Anton Koger