当前位置:网站首页>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)
)
边栏推荐
- The difference between SQL left join main table restrictions written after on and where
- deepTools对ChIP-seq数据可视化
- Native method merge word
- Installation of ROS gazebo related packages
- 可昇級合約的原理-DelegateCall
- Is bond fund safe? Does the bond buying foundation lose principal?
- Solve the problem of data blank in the quick sliding page of the uniapp list
- II Stm32f407 chip GPIO programming, register operation, library function operation and bit segment operation
- ROS lacks xacro package
- Summary of data export methods in powerbi
猜你喜欢

CTF record

enumrate的start属性的坑

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

Tiktok overseas tiktok: finalizing the final data security agreement with Biden government

GGPlot Examples Best Reference

Tidb DM alarm DM_ sync_ process_ exists_ with_ Error troubleshooting

Webauthn - official development document

How to Create a Nice Box and Whisker Plot in R

亚马逊云科技 Community Builder 申请窗口开启

mmrotate旋转目标检测框架使用记录
随机推荐
Mongodb learning and sorting (condition operator, $type operator, limit() method, skip() method and sort() method)
Importerror: impossible d'importer le nom « graph» de « graphviz»
念念不忘,必有回响 | 悬镜诚邀您参与OpenSCA用户有奖调研
MySQL比较运算符IN问题求解
亚马逊云科技 Community Builder 申请窗口开启
ren域名有价值吗?值不值得投资?ren域名的应用范围有哪些?
Writing contract test cases based on hardhat
A sharp tool for exposing data inconsistencies -- a real-time verification system
Verilog and VHDL signed and unsigned number correlation operations
Multi line display and single line display of tqdm
PKG package manager usage instance in FreeBSD
ctf 记录
ROS lacks xacro package
bedtools使用教程
Functional interfaces and method references
map集合赋值到数据库
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
Tidb DM alarm DM_ sync_ process_ exists_ with_ Error troubleshooting
js中给数组添加元素的方法有哪些
