surveyPlot.surveybraid: Codes and plots a survey question.

Description Usage Arguments See Also

Description

This is the top level function that determines how a question is processed, coded, printed and plotted.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  ## S3 method for class 'surveybraid'
 surveyPlot(x, qid,
    statsFunction = "statsGuess",
    plotFunction = "plotGuess",
    codeFunction = "codeQuickArray",
    onlyBreaks = seq_along(x$surveyor$crossbreak),
    outputType = x$braid$outputType,
    plotSize = x$braid$defaultPlotSize,
    plotMultiplierLimits = c(0.8, 2.5),
    addPlotTitle = FALSE, ...)

Arguments

x

surveybraid object

qid

Question id

statsFunction

A surveyor stats function

plotFunction

A surveyor plot function

codeFunction

A surveyor stats function

onlyBreaks

Numeric vector that limits crossbreak processing

outputType

"latex", "ppt" or "device": Specifies destination of ouput

plotSize

Size in inches of plot output, e.g. c(4,3)

plotMultiplierLimits

Numeric vector of length two, indicating lower and upper limit of vertical plot resizing

addPlotTitle

If TRUE, adds question text to plot title

...

Other parameters passed to surveyPlot

See Also

as.surveyor


andrie/surveybraid documentation built on May 10, 2019, 11:20 a.m.