Description Usage Arguments Details References See Also Examples
The function produces a violin plot for specified effects. This can be useful for presenting or examining particular marginal effects of interest.
1 | violinplot(x, columns=NULL, newlabels=NULL, type="mode", stage=NULL)
|
x |
Object of class sparsereg. |
columns |
A vector of numbers (or strings) corresponding to columns (or column names) to produce plots for. |
newlabels |
New labels for columns rather than variable names in object. If empty, variable names are used. |
type |
Options are "mode" and "mean". Whether to plot the posterior mode or mean. |
stage |
Currently, this argument is ignored. |
Generates a violin plot for coefficients from object from class sparsereg. The desired coefficients can be requested using the columns argument and they can be assigned new names through newlabels.
Ratkovic, Marc and Tingley, Dustin. 2015. "Sparse Estimation with Uncertainty: Subgroup Analysis in Large Dimensional Design." Working paper.
sparsereg, plot.sparsereg, summary.sparsereg, difference, print.sparsereg
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.