Description Usage Arguments Examples
This function will plot f1/f2 data. The function takes 4 obligatory arguments and optionally one can include a grouping variable ('group'). This function is a wrapper for ggplot. Columns from the data frame must be wrapped in quotation marks.
1 |
data |
A data frame. |
vowel |
A factor with vowels as levels |
f1 |
A continuous variable |
f2 |
A continuous variable |
group |
An optional grouping variable for facets |
print |
Logical for printing descriptives |
1 2 3 4 5 6 7 8 9 10 | # Vowel plot without grouping variable
library("untidydata")
data("spanish_vowels")
#vowel_plot(data = spanish_vowels, vowel = 'vowel', f1 = 'f1', f2 = 'f2',
# group = NULL)
# Vowel plot with grouping variable
# vowel_plot(data = spanish_vowels, vowel = 'vowel', f1 = 'f1', f2 = 'f2',
# group = 'gender')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.