ML_Trans: ML_Trans

Description Usage Arguments Examples

Description

Transforms transition tables into multi-level data. Each transition between states is handled as a single observation, which is nested within dyads.

Usage

1
ML_Trans(data, first, second)

Arguments

data

a data.frame, which contains dyadic sequences in a bride format

first

column-index that defines the first sequence of each dyad

second

column-index that defines the second sequence of each dyad

Examples

1
2
3
4
# Example: Sequences from couples cope into multi-level data

data(CouplesCope)
ML_data<-ML_Trans(CouplesCope, 2:49, 50:97)

PeFox/DySeq documentation built on May 8, 2019, 1:28 a.m.