Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

expandDataFrame

Expand summary table of patterns and frequencies


Description

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

Usage

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

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

rpf

Response Probability Functions

v1.0.11
GPL (>= 3)
Authors
Joshua Pritikin [cre, aut], Jonathan Weeks [ctb], Li Cai [ctb], Carrie Houts [ctb], Phil Chalmers [ctb], Michael D. Hunter [ctb], Carl F. Falk [ctb]
Initial release
2021-10-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.