ggboxweight3d_svy: Weighted Boxplot of svy.design object with two categorical...

View source: R/boxplots.R

ggboxweight3d_svyR Documentation

Weighted Boxplot of svy.design object with two categorical variables

Description

In ggsurvey you specify both the plotting variables and weights in plain text with no quotes.

Usage

ggboxweight3d_svy(surveyobj, x, y, z)

Arguments

surveyobj

svy.design

x

variable to boxplot

y

first categorical variable

z

second categorical variable (for faceting)

Value

ggplot object

Examples

library(survey)
data(api)
dstrat<-svydesign(id=~1,strata=~stype, weights=~pw, data=apistrat, fpc=~fpc)
ggboxweight3d_svy(dstrat, api00, stype, awards)

ggsurvey documentation built on May 4, 2022, 9:06 a.m.