当前位置:网站首页>HOW TO EASILY CREATE BARPLOTS WITH ERROR BARS IN R
HOW TO EASILY CREATE BARPLOTS WITH ERROR BARS IN R
2022-07-02 09:38:00 【小宇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)
)
边栏推荐
- Internship report skywalking distributed link tracking?
- Wechat applet uses Baidu API to achieve plant recognition
- 对毕业季即将踏入职场的年轻人的一点建议
- Jenkins installation
- Liftover for genome coordinate conversion
- Xiao Sha's pain (double pointer
- A white hole formed by antineutrons produced by particle accelerators
- enumrate的start属性的坑
- MTK full dump grab
- ImportError: cannot import name ‘Digraph‘ from ‘graphviz‘
猜你喜欢

A white hole formed by antineutrons produced by particle accelerators

Redis超出最大内存错误OOM command not allowed when used memory > 'maxmemory'

How to Create a Beautiful Plots in R with Summary Statistics Labels

excel表格中选中单元格出现十字带阴影的选中效果

Jinshanyun - 2023 Summer Internship

可昇級合約的原理-DelegateCall

Skills of PLC recorder in quickly monitoring multiple PLC bits

RPA advanced (II) uipath application practice

Importerror: impossible d'importer le nom « graph» de « graphviz»

Eight sorting summaries
随机推荐
ESP32音频框架 ESP-ADF 添加按键外设流程代码跟踪
C # method of obtaining a unique identification number (ID) based on the current time
Xiao Sha's pain (double pointer
Basic usage of MySQL in centos8
Redis exceeds the maximum memory error oom command not allowed when used memory & gt; ' maxmemory'
接口调试工具概论
2022年4月17日五心红娘团队收获双份喜报
Skills of PLC recorder in quickly monitoring multiple PLC bits
mmrotate旋转目标检测框架使用记录
C file and folder operation
对毕业季即将踏入职场的年轻人的一点建议
基于Hardhat和Openzeppelin开发可升级合约(一)
On April 17, 2022, the five heart matchmaker team received double good news
Jenkins installation
Solve the problem of data blank in the quick sliding page of the uniapp list
制造业数字化转型和精益生产什么关系
How to Create a Nice Box and Whisker Plot in R
ros缺少catkin_pkg
PowerBI中导出数据方法汇总
From the perspective of attack surface, see the practice of zero trust scheme of Xinchuang
