plot_beta | R Documentation |
Plot the posterior distribution of the linear parameters beta for each context
plot_beta(
samples,
X = NULL,
context.id = NULL,
true.beta = NULL,
title = NULL,
subtitle = NULL,
plot.mean = FALSE,
plot.grid = FALSE,
showKhat = FALSE,
col = NULL,
xlab.size = NULL,
ylab.size = NULL,
title.size = NULL,
legend.size = NULL,
xtick.distance = NULL,
left.margin = 0,
ytick.distance = NULL,
col.border = "white"
)
samples |
an output of the function |
X |
a string vector with the name of the first-level covariates whose associated tau should be displayed |
context.id |
string with the name of the column containing the labels identifying the contexts. This variable should have been specified when the estimation was conducted using the function |
true.beta |
a |
title |
string, title of the plot |
subtitle |
string, the subtitle of the plot |
plot.mean |
boolean, if |
plot.grid |
boolean, if |
showKhat |
boolean, if |
col |
string, color of the densities |
xlab.size |
numeric, size of the breaks in the x-axis |
ylab.size |
numeric, size of the breaks in the y-axis |
title.size |
numeric, size of the title |
legend.size |
numeric, size of the legend |
xtick.distance |
numeric, distance between x-axis marks and bottom of the figure |
left.margin |
numeric, distance between left margin and left side of the figure |
ytick.distance |
numeric, distance between y-axis marks and bottom of the figure |
col.border |
string, color of the border of the densities |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.