当前位置:网站首页>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)
)
边栏推荐
- Redis exceeds the maximum memory error oom command not allowed when used memory & gt; ' maxmemory'
- The computer screen is black for no reason, and the brightness cannot be adjusted.
- Redis超出最大内存错误OOM command not allowed when used memory > 'maxmemory'
- Skills of PLC recorder in quickly monitoring multiple PLC bits
- A sharp tool for exposing data inconsistencies -- a real-time verification system
- HOW TO EASILY CREATE BARPLOTS WITH ERROR BARS IN R
- 文件操作(详解!)
- On April 17, 2022, the five heart matchmaker team received double good news
- Homer forecast motif
- Homer预测motif
猜你喜欢
Digital transformation takes the lead to resume production and work, and online and offline full integration rebuilds business logic
Cluster Analysis in R Simplified and Enhanced
Power Spectral Density Estimates Using FFT---MATLAB
GGPLOT: HOW TO DISPLAY THE LAST VALUE OF EACH LINE AS LABEL
JS -- take a number randomly from the array every call, and it cannot be the same as the last time
C#多维数组的属性获取方法及操作注意
K-Means Clustering Visualization in R: Step By Step Guide
6. Introduce you to LED soft film screen. LED soft film screen size | price | installation | application
The computer screen is black for no reason, and the brightness cannot be adjusted.
vant tabs组件选中第一个下划线位置异常
随机推荐
Redis超出最大内存错误OOM command not allowed when used memory > 'maxmemory'
Liftover for genome coordinate conversion
Implementation of address book (file version)
揭露数据不一致的利器 —— 实时核对系统
How to Create a Nice Box and Whisker Plot in R
Tidb DM alarm DM_ sync_ process_ exists_ with_ Error troubleshooting
Principe du contrat évolutif - delegatecall
On April 17, 2022, the five heart matchmaker team received double good news
php 根据经纬度查询距离
K-Means Clustering Visualization in R: Step By Step Guide
Resources reads 2D texture and converts it to PNG format
easyExcel和lombok注解以及swagger常用注解
The position of the first underline selected by the vant tabs component is abnormal
MySQL stored procedure cursor traversal result set
Introduction to interface debugging tools
to_bytes与from_bytes简单示例
TDSQL|就业难?腾讯云数据库微认证来帮你
Precautions for scalable contract solution based on openzeppelin
MySql存储过程游标遍历结果集
GGPlot Examples Best Reference