plot.prop_ss_output {beezdiscounting} | R Documentation |
Plot Proportion of SIR/SS Choices by k Value
Description
This function creates a plot of the proportion of SIR/SS
choices by k value using the output of the prop_ss
function.
Usage
## S3 method for class 'prop_ss_output'
plot(
x,
...,
pt_shape = 21,
pt_fill = "white",
pt_size = 3,
title = "Proportion of SIR/SS choices by k value",
xlab = "k value rank",
ylab = "Proportion of SS choices"
)
Arguments
x |
Output from the |
... |
Additional arguments passed to |
pt_shape |
Shape of the points in the plot. Default is 21. |
pt_fill |
Fill color of the points in the plot. Default is "white". |
pt_size |
Size of the points in the plot. Default is 3. |
title |
Title of the plot. Default is "Proportion of SIR/SS choices by k value". |
xlab |
Label for the x-axis. Default is "k value rank". |
ylab |
Label for the y-axis. Default is "Proportion of SS choices". |
Value
A ggplot object.
Examples
plot(prop_ss(mcq27))
[Package beezdiscounting version 0.3.2 Index]