当前位置:网站首页>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)
)
边栏推荐
- [cloud native] 2.5 kubernetes core practice (Part 2)
- 由粒子加速器产生的反中子形成的白洞
- From the perspective of attack surface, see the practice of zero trust scheme of Xinchuang
- 制造业数字化转型和精益生产什么关系
- Mmrotate rotation target detection framework usage record
- 微信小程序利用百度api达成植物识别
- 基于Hardhat和Openzeppelin开发可升级合约(二)
- PLC-Recorder快速监控多个PLC位的技巧
- enumrate的start属性的坑
- ImportError: cannot import name ‘Digraph‘ from ‘graphviz‘
猜你喜欢

VS2019代码中包含中文内容导致的编译错误和打印输出乱码问题

CentOS8之mysql基本用法

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

A sharp tool for exposing data inconsistencies -- a real-time verification system

可升级合约的原理-DelegateCall

基于Hardhat和Openzeppelin开发可升级合约(一)

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

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

PYQT5+openCV项目实战:微循环仪图片、视频记录和人工对比软件(附源码)

Webauthn - official development document
随机推荐
Never forget, there will be echoes | hanging mirror sincerely invites you to participate in the opensca user award research
On April 17, 2022, the five heart matchmaker team received double good news
Digital transformation takes the lead to resume production and work, and online and offline full integration rebuilds business logic
Always report errors when connecting to MySQL database
Is bond fund safe? Does the bond buying foundation lose principal?
ros缺少catkin_pkg
ros gazebo相关包的安装
6方面带你认识LED软膜屏 LED软膜屏尺寸|价格|安装|应用
webauthn——官方开发文档
ImportError: cannot import name ‘Digraph‘ from ‘graphviz‘
Pit of the start attribute of enumrate
Xiao Sha's pain (double pointer
数字化转型挂帅复产复工,线上线下全融合重建商业逻辑
通过券商经理的开户二维码开股票账户安全吗?还是去证券公司开户安全?
Bedtools tutorial
[idea] use the plug-in to reverse generate code with one click
Principle of scalable contract delegatecall
Map set assignment to database
ESP32音频框架 ESP-ADF 添加按键外设流程代码跟踪
ROS lacks catkin_ pkg
