Learn R Programming

chronicle (version 0.3)

plot_columns: Plot all columns of a table

Description

Make raincloud plots for each numerical variable on a table, and barplots for each categorical variable.

Usage

plot_columns(dt, by_column = NULL)

Arguments

dt

Table to be plotted.

by_column

Name of the column to use as groups for all the other plots

Value

A list of plotly::ggplotly objects, one for each column of the table.

Examples

Run this code
# NOT RUN {
chronicle::plot_columns(dt = iris, by_column = 'Species')
# }

Run the code above in your browser using DataLab