Description Usage Arguments Value Author(s) Examples
Compare patterns of two outcomes with different scales across the range of the common predictor using error bar plots. Each bar plot displays mean +/- standard error.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | BiAxisErrBar(dat, 
	     group, 
	     y.left, 
	     y.right, 
	     title = "Bi-Axis Error Bar Plot",
	     xlab = group, 
	     ylab.left = y.left, 
	     ylab.right = y.right, 
	     legendLabel = "y axis variables",
	     delta = NULL, 
	     cvThresh = 0.01, 
             Ntick = 5,
             semFlag = TRUE, #semFlag = FALSE if SE is required
	     GroupLevel = NULL,
	     addThemeFlag = FALSE
	     )
 | 
| dat | A data frame. Rows are subjects; Columns are variables describing the subjects. | 
| group | character. A categorical variable in  | 
| y.left | character. The column name of  | 
| y.right | character. The column name of  | 
| title | character. title of the plot. | 
| xlab | character. Label for the x-axis. | 
| ylab.left | character. Label for the left-side y-axis. | 
| ylab.right | character. Label for the right-side y-axis. | 
| legendLabel | character. Legend label. | 
| delta | numeric. A small number so that the second error bar plot will shift  | 
| cvThresh | numeric. A small positive number. If the coefficient of variation (CV)
is smaller than  | 
| Ntick | integer. Number of ticks on the two y-axes. | 
| semFlag | logical. Indicating if standard error of the mean ( | 
| GroupLevel | A vector of unique values of  | 
| addThemeFlag | logical. Indicates if light blue background and white grid should be added to the figure. | 
A list with 9 elements.
data, layers, scales, mapping,
theme, coordinates,
facet, plot_env, and labels.
Wenfei Zhang <Wenfei.Zhang@sanofi.com>, Weiliang Qiu <Weiliang.Qiu@sanofi.com>, Xuan Lin <Xuan.Lin@sanofi.com>, Donghui Zhang <Donghui.Zhang@sanofi.com>
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.