sim_plot: sim_plot

Description Usage Arguments

View source: R/sim_plot.R

Description

sim_plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
sim_plot(
  sim_stat_res,
  chart_type = "box",
  box_width = c(0.8, 0.8),
  box_size = 1,
  box_color = NULL,
  box_fill = NULL,
  box_alpha = 0.5,
  box_outlier_size = NULL,
  errorbar_width = 0.8,
  errorbar_size = 1,
  errorbar_color = NULL,
  errorbar_alpha = 0.8,
  errorbar_point_size = 2,
  errorbar_point_color = NULL,
  jitter_width = 0.8,
  jitter_size = 1,
  jitter_color = NULL,
  jitter_alpha = 0.1,
  jitter_point_size = 2,
  jitter_point_color = NULL,
  path_size = 1,
  path_color = NULL,
  ribbon_fill = NULL,
  ribbon_alpha = 0.5,
  x_title = "Times",
  y_title = "Count",
  x_title_size = NULL,
  y_title_size = NULL,
  x_breaks = NULL,
  y_breaks = NULL,
  x_text_size = NULL,
  y_text_size = NULL,
  legend_show = T,
  legend_side = "top",
  legend_title = "",
  legend_title_size = NULL,
  legend_text_size = NULL
)

Arguments

sim_stat_res

The result from sim_stat.

chart_type

A character string of chart type. It should be one of "box", "errorbar", "jitter" and "ribbon".

box_width

A numeric vector giving the relative widths of the box and max/min line, ranging from 0 to 1.

box_size

The size of lines in boxplot.

box_color

A string of color or a named vector of colors for lines in boxplot.

box_fill

A string of color or a named vector of colors for boxes in boxplot.

box_alpha

The opacity of boxes, ranging from 0 to 1.

box_outlier_size

The size of the outliers in boxplot.

errorbar_width

A numeric vector giving the relative width of errorbar, ranging from 0 to 1.

errorbar_size

The size of errorbar.

errorbar_color

A string of color or a named vector of colors for errorbar.

errorbar_alpha

The opacity of errorbar, ranging from 0 to 1.

errorbar_point_size

The size of point representing the mean value.

errorbar_point_color

A string of color or a named vector of colors for point representing the mean value.

jitter_width

A numeric vector giving the relative width of jittered points, ranging from 0 to 1.

jitter_size

The size of jittered points.

jitter_color

A string of color or a named vector of colors for jittered points.

jitter_alpha

The opacity of jittered points, ranging from 0 to 1.

jitter_point_size

The size of point representing the mean value.

jitter_point_color

A string of color or a named vector of colors for point representing the mean value.

path_size

The size of path.

path_color

A string of color or a named vector of colors for path.

ribbon_fill

A string of color or a named vector of colors for ribbon.

ribbon_alpha

The opacity of ribbon, ranging from 0 to 1.

x_title

The text for the x-axis title.

y_title

The text for the y-axis title.

x_title_size

The size of x-axis title.

y_title_size

The size of y-axis title.

x_breaks

A numeric vector of break values on the x-axis.

y_breaks

A numeric vector of break values on the y-axis.

x_text_size

The size of tick labels on x-axis.

y_text_size

The size of tick labels on y-axis.

legend_show

Whether show the legend.

legend_side

The position of legend.

legend_title

The text for the legend title.

legend_title_size

The size of legend title.

legend_text_size

The size of legend item labels.


xiaonui/vPan documentation built on Dec. 23, 2021, 6:17 p.m.