Package index
To create a plot, start with the tidyplot()
function. Build the plot by adding, removing, and adjusting plot components. The split_plot()
function must be called last in this sequence and can only be followed by save_plot()
.
-
tidyplot()
- Create a new tidyplot
-
add_data_points()
add_data_points_jitter()
add_data_points_beeswarm()
- Add data points
-
add_count_bar()
add_count_dash()
add_count_dot()
add_count_value()
add_count_line()
add_count_area()
- Add count
-
add_heatmap()
- Add heatmap
-
add_line()
add_area()
- Add line or area
-
add_mean_bar()
add_mean_dash()
add_mean_dot()
add_mean_value()
add_mean_line()
add_mean_area()
- Add mean
-
add_median_bar()
add_median_dash()
add_median_dot()
add_median_value()
add_median_line()
add_median_area()
- Add median
-
add_curve_fit()
- Add curve fit
-
add_barstack_absolute()
add_barstack_relative()
- Add bar stack
-
add_areastack_absolute()
add_areastack_relative()
- Add area stack
-
add_pie()
add_donut()
- Add pie or donut chart
-
add_test_pvalue()
add_test_asterisks()
- Add statistical test
-
add_title()
add_caption()
- Add plot title or caption
-
add_data_labels()
add_data_labels_repel()
- Add data labels
-
add_reference_lines()
- Add reference lines
-
remove_legend()
remove_legend_title()
- Remove legend or legend title
-
remove_padding()
- Remove plot area padding
-
remove_title()
remove_caption()
- Remove plot title or caption
-
remove_x_axis()
remove_x_axis_line()
remove_x_axis_ticks()
remove_x_axis_labels()
remove_x_axis_title()
- Remove x axis or parts of it
-
remove_y_axis()
remove_y_axis_line()
remove_y_axis_ticks()
remove_y_axis_labels()
remove_y_axis_title()
- Remove y axis or parts of it
-
adjust_colors()
- Adjust colors
-
adjust_font()
- Adjust font
-
adjust_legend_title()
adjust_legend_position()
- Adjust legend
-
adjust_title()
adjust_x_axis_title()
adjust_y_axis_title()
adjust_caption()
- Adjust titles and caption
-
adjust_size()
- Adjust plot area size
-
adjust_padding()
- Adjust plot area padding
-
adjust_x_axis()
adjust_y_axis()
- Adjust axes
-
rename_x_axis_labels()
rename_y_axis_labels()
rename_color_labels()
- Rename axis or color labels
-
reorder_x_axis_labels()
reorder_y_axis_labels()
reorder_color_labels()
- Reorder axis or color labels
-
sort_x_axis_labels()
sort_y_axis_labels()
sort_color_labels()
- Sort axis or color labels
-
reverse_x_axis_labels()
reverse_y_axis_labels()
reverse_color_labels()
- Reverse axis or color labels
-
colors_discrete_friendly
colors_discrete_seaside
colors_discrete_apple
colors_discrete_friendly_long
colors_discrete_okabeito
colors_discrete_ibm
colors_discrete_metro
colors_discrete_candy
- Discrete color schemes
-
colors_continuous_viridis
colors_continuous_magma
colors_continuous_inferno
colors_continuous_plasma
colors_continuous_cividis
colors_continuous_rocket
colors_continuous_mako
colors_continuous_turbo
colors_continuous_bluepinkyellow
- Continuous color schemes
-
colors_diverging_blue2red
colors_diverging_blue2brown
colors_diverging_BuRd
colors_diverging_BuYlRd
colors_diverging_spectral
colors_diverging_icefire
- Diverging color schemes
-
new_color_scheme()
- New color scheme
-
split_plot()
- Split plot into multiple subplots
-
view_plot()
- View plot on screen
-
save_plot()
- Save plots to file
-
all_rows()
filter_rows()
max_rows()
min_rows()
first_rows()
last_rows()
sample_rows()
- Subset data rows
-
add()
- Add ggplot2 code to a tidyplot
-
as_tidyplot()
- Convert ggplot to tidyplot
-
flip_plot()
superseded - Flip x and y axis
-
format_number()
format_p_value()
- Format numbers or p values
-
animals
- Animals data
-
climate
- Climate data
-
dinosaurs
- Dinosaurs data
-
distributions
- Distributions data
-
energy
- Energy data
-
energy_week
- Energy week data
-
eu_countries
- EU countries data
-
gene_expression
- RNA-Seq expression data
-
spendings
- Spending data
-
study
- Study data
-
time_course
- Time course data