statsNetScore: Code survey data as net score.

Description Usage Arguments Value See Also

View source: R/2statsFunctions.R

Description

Code survey data in net score form

Usage

1
2
  statsNetScore(surveyorCode, formatter = "formatPercent",
    ...)

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

formatter

A formatting function, such as formatPercent

...

other arguments not used by this method

Value

data frame

See Also

For an overview of the surveyor package surveyor

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


andrie/surveyor documentation built on June 3, 2017, 7:04 p.m.