S3 plot function for the parameter plot of a bpc model This is just a wrapper for the get_parameters_plot function and can be used interchangebly

# S3 method for bpc
plot(
x,
y = NULL,
HPDI = T,
params = c("lambda"),
title = "Strength estimates",
subtitle = NULL,
xaxis = "Player",
yaxis = "Value",
rotate_x_labels = FALSE,
APA = TRUE,
keep_par_name = FALSE,
...
)

## Arguments

x a bpc object Not used. Default to NULL use HPD (TRUE) or credible intervals (FALSE) for the plots a vector of string for of the parameters to be plotted the title of the plot optional subtitle for the plot title of the x axis title of the y axis should the labels be shown horizontally (default, FALSE) or vertically (TRUE) should the graphic be formatted in APA style (default TRUE) keep the parameter name e.g. lambda Graff instead of Graff. Default to T. Only valid for lambda, so we can have better ranks additional parameters for the generic S3 plot function. Not used.

## Value

a ggplot2 caterpillar plot

## Examples

# \donttest{
m<-bpc(data = tennis_agresti,
player0 = 'player0',
player1 = 'player1',
result_column = 'y',
model_type = 'bt',
solve_ties = 'none')
#> Running MCMC with 4 parallel chains...
#>
#> Chain 2 finished in 3.1 seconds.
#> Chain 1 finished in 3.2 seconds.
#> Chain 3 finished in 3.2 seconds.
#> Chain 4 finished in 3.2 seconds.
#>
#> All 4 chains finished successfully.
#> Mean chain execution time: 3.2 seconds.
#> Total execution time: 3.4 seconds.
p<-get_parameters_plot(m)
p

# }