as.surveyorCode: Creates object of class "surveyorCode".

Description Usage Arguments Value See Also

View source: R/1codeFunctions.R

Description

Creates object of class "surveyorCode".

Usage

1

Arguments

x

Data created by surveyor code function

surveyor

A surveyor object

qid

Question identifier, e.g. "Q4"

...

Passed to surveyorStats

Value

An object of class "surveyorCode"

data

A data.frame with four columns: cbreak, question, response and weight

surveyorDefaults

A copy of the original surveyor defaults, see surveyorDefaults

plotTitle

Main title of the plot: defaults to question text

qid

Question id, e.g. "Q4"

sampleSize

Named vector with weighted sample size for each crossbreak

See Also

surveyPlot to plot a surveyor object


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