gghexweight3d | R Documentation |
In ggsurvey you specify both the plotting variables and weights in plain text with no quotes.
gghexweight3d(df, x, y, a, b, weights)
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 |
ggplot object
library(survey) data(api) gghexweight3d(apistrat, api99, api00, stype, awards, pw)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.