plot_steepness_regression {EloSteepness} | R Documentation |
plot steepness regression
Description
visually combine individual scores with group-level steepness
Usage
plot_steepness_regression(
x,
adjust = 3,
color = TRUE,
width_fac = 0.1,
axis_extend = 0.1
)
Arguments
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). |
Value
a plot
Examples
data("bonobos", package = "EloRating")
res <- davids_steepness(bonobos, refresh = 0, iter = 1000)
plot_steepness_regression(res, width_fac = 0.5)