statsBinPercent: Calculates summary statistics

Description Usage Arguments Details Value See Also

Description

Wrapper around statsBin, binning statistics and calculating percentage

Usage

1
  statsBinPercent(surveyorCode, ...)

Arguments

surveyorCode

An object of class "surveyorCode". This is a list with the first element being a data frame with four columns: cbreak, question, response, weight

...

Passed to as.surveyorStats

Details

The results are sorted in descending order of value, and "response" is coerced into an ordered factor (unless "response" is already an ordered factor).

Value

A data frame with three columns: cbreak, variable, value

See Also

For an overview of the surveyor package surveyor

Other statsFunctions: statsBin, statsCentral, statsCount, statsGuess, statsMean, statsMedian, statsNetScore, statsRank, statsSum, statsText


andrie/surveyor documentation built on May 10, 2019, 11:21 a.m.