当前位置:网站首页>HOW TO EASILY CREATE BARPLOTS WITH ERROR BARS IN R
HOW TO EASILY CREATE BARPLOTS WITH ERROR BARS IN R
2022-07-02 11:50:00 【Xiaoyu 2022】
library(ggpubr)
# Create a simple bar plot
ggbarplot(
ToothGrowth, x = "dose", y = "len",
add = c("mean_se", "jitter"),
fill = "#BF504D"
)

library(ggpubr)
# Grouped bar plots
# Colored by groups
ggbarplot(
ToothGrowth, x = "dose", y = "len",
add = c("mean_sd", "jitter"),
color = "supp", palette = c("#807F7F", "#BF504D"),
position = position_dodge(0.8)
)

library(ggpubr)
# Change bars fill color by groups
# You need to change also point shapes by groups
ggbarplot(
ToothGrowth, x = "dose", y = "len",
add = c("mean_sd", "jitter"),
add.params = list(shape = "supp"),
fill= "supp", palette = c("#807F7F", "#BF504D"),
position = position_dodge(0.8)
)
边栏推荐
- excel表格中选中单元格出现十字带阴影的选中效果
- Basic usage of MySQL in centos8
- Some suggestions for young people who are about to enter the workplace in the graduation season
- C # method of obtaining a unique identification number (ID) based on the current time
- Is the Ren domain name valuable? Is it worth investing? What is the application scope of Ren domain name?
- Esp32 stores the distribution network information +led displays the distribution network status + press the key to clear the distribution network information (source code attached)
- PHP 2D and multidimensional arrays are out of order, PHP_ PHP scrambles a simple example of a two-dimensional array and a multi-dimensional array. The shuffle function in PHP can only scramble one-dim
- 文件操作(详解!)
- Redis超出最大内存错误OOM command not allowed when used memory > 'maxmemory'
- 多文件程序X32dbg动态调试
猜你喜欢

The computer screen is black for no reason, and the brightness cannot be adjusted.

揭露数据不一致的利器 —— 实时核对系统

Eight sorting summaries
![[cloud native] 2.5 kubernetes core practice (Part 2)](/img/87/826894d758392a0c7a60dd5fa09eef.png)
[cloud native] 2.5 kubernetes core practice (Part 2)

由粒子加速器产生的反中子形成的白洞

Is the Ren domain name valuable? Is it worth investing? What is the application scope of Ren domain name?

Research on and off the Oracle chain

Thesis translation: 2022_ PACDNN: A phase-aware composite deep neural network for speech enhancement

Dynamic memory (advanced 4)
![[idea] use the plug-in to reverse generate code with one click](/img/b0/00375e61af764a77ea0150bf4f6d9d.png)
[idea] use the plug-in to reverse generate code with one click
随机推荐
行業的分析
MySQL比较运算符IN问题求解
Research on and off the Oracle chain
MySql存储过程游标遍历结果集
MySQL basic statement
Tiktok overseas tiktok: finalizing the final data security agreement with Biden government
Native method merge word
The selected cells in Excel form have the selection effect of cross shading
How to Create a Nice Box and Whisker Plot in R
A white hole formed by antineutrons produced by particle accelerators
Cluster Analysis in R Simplified and Enhanced
Principle of scalable contract delegatecall
Data analysis - Matplotlib sample code
Seriation in R: How to Optimally Order Objects in a Data Matrice
The position of the first underline selected by the vant tabs component is abnormal
K-Means Clustering Visualization in R: Step By Step Guide
liftOver进行基因组坐标转换
Skills of PLC recorder in quickly monitoring multiple PLC bits
Attribute acquisition method and operation notes of C # multidimensional array
BEAUTIFUL GGPLOT VENN DIAGRAM WITH R
