View source: R/plot_coefs_tidy.R
mat_plot_coefs_tidy | R Documentation |
Plot coefficients from tidy output
mat_plot_coefs_tidy(
df,
fill_var = "term",
fac1_var = NULL,
fac2_var = NULL,
angle = 0,
x_var = "term",
scales = "fixed",
fac_space = "fixed",
geom = c("bar", "point")
)
df |
Data-frame |
fill_var |
variable for |
fac1_var , fac2_var |
facet variable |
angle |
angle in |
x_var |
x variable, default term |
scales , fac_space |
argument to |
geom |
Use bar or points? |
data(coefs_out_iris)
mat_plot_coefs_tidy(coefs_out_iris, fac1_var = Species)
mat_plot_coefs_tidy(coefs_out_iris, fac2_var = Species)
mat_plot_coefs_tidy(coefs_out_iris, fac1_var = Species, fac2_var = term, scales = "free")
## handle duplicates
mat_plot_coefs_tidy(coefs_out_iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.