自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 R 箱线图ggplot2 颜色标签字体坐标轴标签

R 箱线图ggplot2library(rcompanion)library(vcd)library(RColorBrewer)ggplot(data, aes(type, age, fill = type)) + geom_boxplot( outlier.colour="black", outlier.shape = 16, outlier.size = 0.5, notch=FALSE) + # coord_flip(

2022-03-03 22:43:19 2171

原创 数据概览|tableone|corrplot|MICE|生成表格和变量相关图重要性 in R

tableoneCreateTableOne(dat) # dat without missing# 一般使用以下的代码vars <- colnames(dat)[3:6]vars_Fac <- c("male", "white") # 分类变量table1 <- CreateTableOne(vars = vars, strata = "trt", # 分组, 不需要分组分析时可以忽略这个参数

2022-01-20 14:29:05 568

转载 geom_path: Each group consists of only one observation. Do you need to adjust the group aesthetic?

geom_path: Each group consists of only one observation. Do you needto adjust the group aesthetic?解决方案You only have to add group = 1 into the ggplot or geom_line aes().For line graphs, the data poi...

2020-04-20 12:24:21 5086 1

转载 %matplotlib作用

%matplotlib作用是在使用jupyter notebook 或者 jupyter qtconsole的时候,才会经常用到%matplotlib,也就是说那一份代码可能就是别人使用jupyter notebook 或者 jupyter qtconsole进行编辑的而%matplotlib具体作用是当你调用matplotlib.pyplot的绘图函数plot()进行绘图的时候,或者...

2020-04-19 20:25:41 257

原创 2020/4/18Python 安装教程 TensorFlow安装错误解决方法集合

Python 安装教程 TensorFlow安装错误解决方法集合【适用小白】【此文主要是个集合(自己安装过程中用到的文章)】【希望可以帮助到你】为了保护别人的知识产权,直接贴出网站哈文章主要内容-【1】python安装–下载前注意python版本-【2】pip isntall(换镜像网站)(小白这样解释,IDLE和pycharm 与 R与Rstudio的联系差不错,pycharm还...

2020-04-18 17:10:12 2760

原创 2018.10.09R-SARIMA学习:程序

2018.10.09R-SARIMA学习library(forecast)library(tseries)data(AirPassengers)class(AirPassengers)start(AirPassengers)end(AirPassengers)frequency(AirPassengers)summary(AirPassengers)tsair &lt;- ts(...

2018-11-02 12:59:32 2752 2

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除