当前位置:网站首页>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)
)
边栏推荐
- 【云原生】2.5 Kubernetes 核心实战(下)
- Win11 arm system configuration Net core environment variable
- Complement (Mathematical Simulation
- String (Analog
- QT获取某个日期是第几周
- 2022年4月17日五心红娘团队收获双份喜报
- GGPUBR: HOW TO ADD ADJUSTED P-VALUES TO A MULTI-PANEL GGPLOT
- Order by注入
- Develop scalable contracts based on hardhat and openzeppelin (II)
- Tick Data and Resampling
猜你喜欢

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

Solve the problem of data blank in the quick sliding page of the uniapp list

RPA进阶(二)Uipath应用实践

Verilog 和VHDL有符号数和无符号数相关运算

ESP32音频框架 ESP-ADF 添加按键外设流程代码跟踪

GGPUBR: HOW TO ADD ADJUSTED P-VALUES TO A MULTI-PANEL GGPLOT

Principe du contrat évolutif - delegatecall

II Stm32f407 chip GPIO programming, register operation, library function operation and bit segment operation

Always report errors when connecting to MySQL database

Basic usage of MySQL in centos8
随机推荐
ASTParser 解析含有emum 枚举方法的类文件的踩坑记
Some suggestions for young people who are about to enter the workplace in the graduation season
Tidb DM alarm DM_ sync_ process_ exists_ with_ Error troubleshooting
【多线程】主线程等待子线程执行完毕在执行并获取执行结果的方式记录(有注解代码无坑)
TDSQL|就业难?腾讯云数据库微认证来帮你
MySQL比较运算符IN问题求解
高德根据轨迹画线
Mongodb learning and sorting (condition operator, $type operator, limit() method, skip() method and sort() method)
Skills of PLC recorder in quickly monitoring multiple PLC bits
Eight sorting summaries
II Stm32f407 chip GPIO programming, register operation, library function operation and bit segment operation
Visualization of chip SEQ data by deeptools
Solve the problem of data blank in the quick sliding page of the uniapp list
Redis超出最大内存错误OOM command not allowed when used memory > 'maxmemory'
CTF record
Win11 arm system configuration Net core environment variable
Bedtools tutorial
MySQL basic statement
Verilog and VHDL signed and unsigned number correlation operations
LVM operation
