ggboxweight_svy: Weighted Box Plot of svy.design object

View source: R/boxplots.R

ggboxweight_svyR Documentation

Weighted Box Plot of svy.design object

Description

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

Usage

ggboxweight_svy(surveyobj, x)

Arguments

surveyobj

svy.design object

x

variable to boxplot

Value

ggplot object

Examples

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

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