View source: R/plot_steepness_regression.R
plot_steepness_regression | R Documentation |
visually combine individual scores with group-level steepness
plot_steepness_regression(
x,
adjust = 3,
color = TRUE,
width_fac = 0.1,
axis_extend = 0.1
)
x |
result from |
adjust |
numeric, parameter for smoothing posterior of individual scores |
color |
logical, default is |
width_fac |
numeric, relative width of posterior distributions. This is actually affects the 'height' but since the posteriors are rotated it visually represents width. |
axis_extend |
numeric, an extension factor to extend the horizontal axis to leave space for the posteriors. When set to 0 the axis stops at n (the number of individuals, which represents the lowest rank). |
a plot
data("bonobos", package = "EloRating")
res <- davids_steepness(bonobos, refresh = 0, iter = 1000)
plot_steepness_regression(res, width_fac = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.