Description Usage Arguments Examples
View source: R/feedback_plotting.R
Pass in a z-standardised value (x - Mean)/SD, get a standard normal distribution.
1 2 3 | qplot_on_normal(normed_value,
ylab = "Percentage of other people with this value", xlab = "",
colour = "blue", x_ticks = c("--", "-", "0", "+", "++"))
|
normed_value |
a z-standardised value |
ylab |
Y-axis label, defaults to "Percentage of other people with this value" |
xlab |
X-axis label, empty by default, useful for labeling the plotted trait |
colour |
defaults to blue |
x_ticks |
the ticks labels for -2,1,0,1 and 2 SDs around the mean, default to minuses, pluses and the average sign |
1 2 | normed_value = scale(x = 20, center = 14, scale = 5) # standardise value
qplot_on_normal(normed_value, xlab = "Extraversion")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.