insert | R Documentation |
Generic function that allows inserting measures of position in plots
insert(x, ...)
x |
R object (list) of class leem. Use |
... |
further arguments passed to or from other methods. |
# Example 1
library(leem)
set.seed(10)
rnorm(36, 100, 50) |>
new_leem(variable = "continuous") |>
tabfreq() |>
hist() |>
insert(
lcol = "black",
tcol = "purple",
acol = "brown",
parrow = 0.6,
larrow = 0.6,
ptext = 0.4,
side = "left",
lwd = 2,
lwdarrow = 4
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.