Description Usage Arguments Value Examples
lock_order()
locks the order of the of an axis variable exactly as it
appears in the data, rather than from the bottom up (for factors and
numerics) or in alphabetical order (for characters).
1 | lock_order(var, rev = TRUE)
|
var |
a variable to lock |
rev |
logical. Should the order be reversed to make it appear on the
plot as in the data? Default is |
a factor
1 2 3 4 5 | library(ggplot2)
meta_analysis(iud_cxca, yi = lnes, sei = selnes, slab = study_name) %>%
ggplot(aes(x = estimate, y = lock_order(study))) +
geom_point()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.