Description Usage Arguments Examples
A scatter plot that explores the relationship of two quantitave variables that are subdivided into 3-10 categories. Applies linear regression significance tests within categories and on category means. 95% bootstrapped cofidence intervals of variable means are displayed on the plot.
1 2 3 | cqq_scatter_1(data, cat_1, quant_1, quant_2, x_label = quant_1,
y_label = quant_2, title = paste(quant_1, "vs", quant_2, "by", cat_1),
text_size = 1)
|
data |
|
cat_1 |
( |
quant_1 |
( |
quant_2 |
( |
x_label |
( |
y_label |
( |
title |
( |
text_size |
( |
1 2 | # Plot sepal width vs sepal length for three species of iris:
cqq_scatter_1(data = iris, cat_1 = "Species", quant_1 = "Sepal.Width", quant_2 = "Sepal.Length")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.