Movatterモバイル変換


[0]ホーム

URL:


Skip to contents

Package index

To create a plot, start with thetidyplot() function. Build the plot by adding, removing, and adjusting plot components. Thesplit_plot() function must be called last in this sequence and can only be followed bysave_plot().

Create

tidyplot()
Create a new tidyplot

Add

Add plot components to represent data points, central tendency measures, dispersion and more.

Data points & amounts

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_sum_bar()add_sum_dash()add_sum_dot()add_sum_value()add_sum_line()add_sum_area()
Add sum
add_heatmap()
Add heatmap
add_line()add_area()
Add line or area

Central tendency

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

Distribution & uncertainty

add_histogram()
Add histogram
add_boxplot()
Add boxplot
add_violin()
Add violin plot
add_sem_errorbar()add_range_errorbar()add_sd_errorbar()add_ci95_errorbar()
Add error bar
add_sem_ribbon()add_range_ribbon()add_sd_ribbon()add_ci95_ribbon()
Add ribbon
add_ellipse()
Add ellipse

Proportion

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

Statistical testing

add_test_pvalue()add_test_asterisks()
Add statistical test

Annotation

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
add_annotation_text()add_annotation_rectangle()add_annotation_line()
Add annotation

Remove

Remove plot components.

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

Adjust plot components, properties, and data levels.

Components & properties

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

Axis and color levels

rename_x_axis_levels()rename_y_axis_levels()rename_color_levels()
Rename axis or color levels
reorder_x_axis_levels()reorder_y_axis_levels()reorder_color_levels()
Reorder axis or color levels
sort_x_axis_levels()sort_y_axis_levels()sort_color_levels()
Sort axis or color levels
reverse_x_axis_levels()reverse_y_axis_levels()reverse_color_levels()
Reverse axis or color levels

Themes

Finetune the look of the plot.

theme_tidyplot()theme_ggplot2()theme_minimal_xy()theme_minimal_x()theme_minimal_y()
Themes
adjust_theme_details()
Adjust theme details
tidyplots_options()
Tidyplots options

Color schemes

Choose from a wide range of color schemes.

colors_discrete_friendlycolors_discrete_seasidecolors_discrete_applecolors_discrete_friendly_longcolors_discrete_okabeitocolors_discrete_ibmcolors_discrete_metrocolors_discrete_candycolors_discrete_algercolors_discrete_rainbow
Discrete color schemes
colors_continuous_viridiscolors_continuous_magmacolors_continuous_infernocolors_continuous_plasmacolors_continuous_cividiscolors_continuous_rocketcolors_continuous_makocolors_continuous_turbocolors_continuous_bluepinkyellow
Continuous color schemes
colors_diverging_blue2redcolors_diverging_blue2browncolors_diverging_BuRdcolors_diverging_BuYlRdcolors_diverging_spectralcolors_diverging_icefire
Diverging color schemes
new_color_scheme()
New color scheme

Split

Split the plot into a multi plot layout, eventually across multiple pages.

split_plot()
Split plot into multiple subplots

Output

Output the final plot or intermediate stages to the screen or to a file.

view_plot()
View plot on screen
save_plot()
Save plots to file

Helpers

all_rows()filter_rows()max_rows()min_rows()first_rows()last_rows()sample_rows()
Subset data rows
add()
Add ggplot2 code to a tidyplot
flip_plot()superseded
Flip x and y-axis
format_p_value()
Format p values

Data

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
pca
Principle component analysis data

[8]ページ先頭

©2009-2025 Movatter.jp