Learn R Programming

dcmr (version 1.0)

LongFormatResults: Tranform dataframe to long format

Description

Given a dataframe in wide format, transform to long format

Usage

LongFormatResults(d, result.type = "class")

Arguments

d
a list of MCMC output either classes or parameter estimates
result.type
optional character strings containing result.type: class or parameter