当前位置:网站首页>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)
)
边栏推荐
- ROS lacks catkin_ pkg
- GGPUBR: HOW TO ADD ADJUSTED P-VALUES TO A MULTI-PANEL GGPLOT
- 基于Hardhat编写合约测试用例
- Native method merge word
- File operation (detailed!)
- Redis exceeds the maximum memory error oom command not allowed when used memory & gt; ' maxmemory'
- RPA advanced (II) uipath application practice
- Mmrotate rotation target detection framework usage record
- QT meter custom control
- 念念不忘,必有回响 | 悬镜诚邀您参与OpenSCA用户有奖调研
猜你喜欢

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

R HISTOGRAM EXAMPLE QUICK REFERENCE

vant tabs组件选中第一个下划线位置异常

数字化转型挂帅复产复工,线上线下全融合重建商业逻辑

A white hole formed by antineutrons produced by particle accelerators

PgSQL string is converted to array and associated with other tables, which are displayed in the original order after matching and splicing

Always report errors when connecting to MySQL database

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

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

抖音海外版TikTok:正与拜登政府敲定最终数据安全协议
随机推荐
ESP32音频框架 ESP-ADF 添加按键外设流程代码跟踪
在连接mysql数据库的时候一直报错
SSRF
行业的分析
The position of the first underline selected by the vant tabs component is abnormal
HOW TO ADD P-VALUES TO GGPLOT FACETS
GGPlot Examples Best Reference
进入前六!博云在中国云管理软件市场销量排行持续上升
【2022 ACTF-wp】
[visual studio 2019] create MFC desktop program (install MFC development components | create MFC application | edit MFC application window | add click event for button | Modify button text | open appl
Writing contract test cases based on hardhat
easyExcel和lombok注解以及swagger常用注解
YYGH-BUG-04
GGPUBR: HOW TO ADD ADJUSTED P-VALUES TO A MULTI-PANEL GGPLOT
BEAUTIFUL GGPLOT VENN DIAGRAM WITH R
Tdsql | difficult employment? Tencent cloud database micro authentication to help you
deepTools对ChIP-seq数据可视化
Bedtools tutorial
Introduction to interface debugging tools
接口调试工具概论
