expandTransData: Reshape Data to 'Wide' Data Format

Description Usage Arguments Value Author(s)

Description

This function reshapes time series vector of transition counts with elements of both 'wide' and 'long' data Formats. Each non-Zero weighted row is expanded to show one row per record.

Usage

1
expandTransData(transData, wgtname)

Arguments

transData

dataframe containing the time series vector of transition counts.

wgtname

weight.

Value

The output a dataframe of transition data in 'wide' format.

Author(s)

Abdoulaye (Ab) N'Diaye


RTransProb documentation built on May 2, 2019, 6:49 a.m.