Skip to contents

Creates a ggplot2 layer showing horizontal lines at group mean ranks.

Usage

layer_group_means(data_view, config)

Arguments

data_view

A besthr_data_view object

config

A besthr_plot_config object

Value

A ggplot2 layer

Examples

# \donttest{
d <- make_data()
hr <- estimate(d, score, group)
dv <- besthr_data_view(hr)
cfg <- besthr_plot_config()
# layer_group_means returns a ggplot layer
# }