File: expandDataFrame.Rd

package info (click to toggle)
r-cran-rpf 1.0.11%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,484 kB
  • sloc: cpp: 5,364; sh: 114; ansic: 41; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 731 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataframe.R
\name{expandDataFrame}
\alias{expandDataFrame}
\title{Expand summary table of patterns and frequencies}
\usage{
expandDataFrame(tabdata, freqName = NULL)
}
\arguments{
\item{tabdata}{An object of class \code{data.frame} with the unique response patterns and the number of frequencies}

\item{freqName}{Column name containing the frequencies}
}
\value{
Returns a data frame with all the response patterns
}
\description{
Expand a summary table of unique response patterns to a full sized
data-set.
}
\examples{
data(LSAT7)
expandDataFrame(LSAT7, freqName="freq")
}
\author{
Based on code by Phil Chalmers \email{rphilip.chalmers@gmail.com}
}