Description Usage Arguments Value Examples
View source: R/visualize_data.R
Visualize data with simple graphical techniques such as boxplots, density plots, histograms.
1 2 3 4 5 | visualize_data(
long_data,
plot_type = c("boxplot", "density", "histogram"),
facet = T
)
|
long_data |
Long format data |
plot_type |
A character string with for choosing the the visual demonstration. The current options are "boxplot", "density", and "histogram". |
facet |
A logical value. If true, the plot will be faceted with the facet column "variables". |
a ggplot object
1 2 3 4 | data(iris)
iris_m <- iris
colnames(iris_m) <- "variables"
visualize_data(iris_m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.