gghexweight3d {ggsurvey} | R Documentation |
Weighted Box Plot with Two Facet Variables
Description
In ggsurvey you specify both the plotting variables and weights in plain text with no quotes.
Usage
gghexweight3d(df, x, y, a, b, weights)
Arguments
df |
data frame |
x |
name of variable for x axis |
y |
name of variable for y axis |
a |
first faceting variable |
b |
second faceting variable |
weights |
name of weights variable |
Value
ggplot object
Examples
library(survey)
data(api)
gghexweight3d(apistrat, api99, api00, stype, awards, pw)
[Package ggsurvey version 1.0.0 Index]