当前位置:网站首页>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)
)

边栏推荐
- 基于Hardhat和Openzeppelin开发可升级合约(二)
- Cluster Analysis in R Simplified and Enhanced
- Programmer growth Chapter 6: how to choose a company?
- [idea] use the plug-in to reverse generate code with one click
- map集合赋值到数据库
- Power Spectral Density Estimates Using FFT---MATLAB
- Mmrotate rotation target detection framework usage record
- Redis超出最大内存错误OOM command not allowed when used memory > 'maxmemory'
- The selected cells in Excel form have the selection effect of cross shading
- 【2022 ACTF-wp】
猜你喜欢

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

【2022 ACTF-wp】

HOW TO EASILY CREATE BARPLOTS WITH ERROR BARS IN R

map集合赋值到数据库

Eight sorting summaries

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

pgsql 字符串转数组关联其他表,匹配 拼接后原顺序展示

File operation (detailed!)

Webauthn - official development document

Digital transformation takes the lead to resume production and work, and online and offline full integration rebuilds business logic
随机推荐
抖音海外版TikTok:正与拜登政府敲定最终数据安全协议
php 二维、多维 数组打乱顺序,PHP_php打乱数组二维数组多维数组的简单实例,php中的shuffle函数只能打乱一维
to_ Bytes and from_ Bytes simple example
Some things configured from ros1 to ros2
【多线程】主线程等待子线程执行完毕在执行并获取执行结果的方式记录(有注解代码无坑)
Principe du contrat évolutif - delegatecall
Implementation of address book (file version)
bedtools使用教程
2022年遭“挤爆”的三款透明LED显示屏
Cluster Analysis in R Simplified and Enhanced
II Stm32f407 chip GPIO programming, register operation, library function operation and bit segment operation
可昇級合約的原理-DelegateCall
SSRF
Mmrotate rotation target detection framework usage record
excel表格中选中单元格出现十字带阴影的选中效果
vant tabs组件选中第一个下划线位置异常
行業的分析
Visualization of chip SEQ data by deeptools
STM32 single chip microcomputer programming learning
进入前六!博云在中国云管理软件市场销量排行持续上升