Creating and Annotating a Composite Plot in 'ggplot2'


[Up] [Top]

Documentation for package ‘smplot2’ version 0.2.1

Help Pages

sm_add_legend Adding a common legend on a combined figure
sm_add_point Add a point annotation onto the combined plot
sm_add_text Add a text annotation onto the combined plot
sm_auc Calculation of the Area under a Curve (Trapezoidal numerical integration)
sm_auc_all Calculating Area under Curve across multiple conditions and subjects
sm_bar A bar plot with jittered individual points
sm_bland_altman A Bland Altman plot
sm_boxplot A boxplot with jittered individual points
sm_ci Confidence interval
sm_classic A SM classical theme.
sm_color SM custom palette of colors
sm_common_axis A function to plot panels with common x- and y- axes
sm_common_legend Creating a common legend for subplots on a separate panel
sm_common_title Common title for combined subplots
sm_common_xlabel Common x-axis label (title) for combined subplots
sm_common_ylabel Common y-axis label (title) for combined subplots
sm_corr_avgErr Superimposition of the average point with horizontal and vertical error bars in the correlation plot
sm_effsize Cohen's d - effect size
sm_forest Forest plot
sm_forest_annot Annotation of the error range on the forest plot
sm_hgrid Minimalistic theme of horizontal major grids
sm_hist Histogram with kernel density estimation (Gaussian) and rugs
sm_hvgrid Minimalistic theme with major horizontal and vertical grids
sm_hvgrid_minor A theme with horizontal and vertical major and minor grids
sm_minimal SM minimal theme (no grid) with borders.
sm_palette SM custom palette of colors
sm_panel_label Writing a label for each panel of a combined figure
sm_plot_clean Remove xticklabels and yticklabels in selected panels for proper subplotting
sm_pointplot Point plot with optional shadow
sm_power Post-hoc power analysis using two-sample or paired t-test
sm_put_together Combining figures together
sm_raincloud Raincloud plot
sm_slope A slope chart
sm_slope_all Calculating the slope across multiple conditions and subjects
sm_slope_theme SM plot with a theme appropriate for the slope chart
sm_statBlandAlt Statistics for a Bland-Altman plot
sm_statCorr Linear regression slope and statistical values from a paired correlation test
sm_stdErr Standard error
sm_vgrid Minimalistic theme with vertical major grids
sm_violin A violin plot with jittered individual points