Description Usage Arguments Details Value See Also
This function takes extracts the data from a
surveydata object, then analyses and plots it.
1 2 3 4 5 6 7 8 9 10 11 12 | surveyPlot(x, qid, statsFunction = "statsGuess",
plotFunction = "plotGuess",
codeFunction = "codeQuickArray", crossbreak,
onlyBreaks = seq_along(x$crossbreak), ...)
## S3 method for class 'surveyor'
surveyPlot(x, qid,
statsFunction = "statsGuess",
plotFunction = "plotGuess",
codeFunction = "codeQuickArray",
crossbreak = x$crossbreak,
onlyBreaks = seq_along(x$crossbreak), ...)
|
x |
Object to plot, of class |
qid |
String. Unique question identifier, e.g. "Q4" |
statsFunction |
A reference to a function that
summarizes the coded data. Defaults to
|
plotFunction |
A reference to a function that plots
the summarized data. Defaults to |
codeFunction |
A reference to a function that
processes the question data. Defaults to
|
crossbreak |
A list of crossbreak vectors (each must
be a named factor). See also |
onlyBreaks |
Numeric vector that limits crossbreak processing |
... |
Passed to methods |
This is a generic function, with an implementation for
class surveyor, see also
as.surveyor. The package surveybraid
implements additional methods for surveybraid and
surveybraidppt. See also
as.surveybraid and
as.surveybraidppt.
Depends on method, but typically a list of
as.surveyorPlot objects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.