Nothing
## ----setup, include = FALSE---------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## -----------------------------------------------------------------------------
library(plotcli)
# Generate sample data
sample_data <- rnorm(1000, mean = 5, sd = 2)
# Create a density plot
plotcli_density(sample_data, color = "blue", braille = TRUE)
## -----------------------------------------------------------------------------
# Generate sample data
sample_data <- rnorm(1000, mean = 5, sd = 2)
# Create a histogram
plotcli_histogram(sample_data, color = "yellow")
## -----------------------------------------------------------------------------
# Create a scatter plot
plotcli_scatter(x = iris$`Sepal.Width`, y = iris$`Sepal.Length`, color = "magenta", braille = FALSE)
## -----------------------------------------------------------------------------
# make sin
x <- seq(0, 2*pi, length.out = 50)
y <- sin(x)
# Create a line plot
plotcli_line(x = x, y = cos(y), color = "green")
plotcli_line(x = x, y = x, color = "magenta", braille = FALSE)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.