fill="#868686",colour="#CD534C") +
ggpubr::stat_regline_equation(label.x = .1,label.y = 10,size=6,fontface...paste(..r.label..,..p.label.., sep = "~`,`~")),
label.x = .1, label.y = 9,size=6,fontface...)+
ggsci::scale_colour_nejm()+
ggpubr::stat_regline_equation(aes(color=sex),label.x = .1,size=6,fontface...= paste(..r.label..,..p.label.., sep = "~`,`~"),color=sex),
label.x = 20,size=6,fontface...Python-seaborn::lmplot()函数绘制
这里小编使用了Python-seaborn库中的lmplot()函数进行绘制,详细如下:
「样例一」:单一类别
import seaborn as