expandDataFrame: Expand summary table of patterns and frequencies

Description Usage Arguments Value Author(s) Examples

View source: R/dataframe.R

Description

Expand a summary table of unique response patterns to a full sized data-set.

Usage

1
expandDataFrame(tabdata, freqName = NULL)

Arguments

tabdata

An object of class data.frame with the unique response patterns and the number of frequencies

freqName

Column name containing the frequencies

Value

Returns a data frame with all the response patterns

Author(s)

Based on code by Phil Chalmers rphilip.chalmers@gmail.com

Examples

1
2
data(LSAT7)
expandDataFrame(LSAT7, freqName="freq")

rpf documentation built on April 30, 2021, 1:06 a.m.