![](https://img-blog.csdnimg.cn/166e256ab7df4536a62883c253de1774.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
R
文章平均质量分 93
R笔记
@Zhinuo
这个作者很懒,什么都没留下…
展开
-
Google‘s R Style Guide
转载自:http://web.stanford.edu/class/cs109l/unrestricted/resources/google-style.html R is a high-level programming language used primarily for statistical computing and graphics. The goal of the R Programming Style Guide is to make our R code easier to read,转载 2021-01-28 17:06:47 · 197 阅读 · 0 评论 -
Shiny
目录1 Basic2 User Interface2.1 Lay Out2.2 HTML Content3 Add control widgets3.1 Control widgets3.2 Adding widgets4 Display Reactive Output4.1 Output in "ui" Part 1 Basic 一个Shiny App在一个app.R里面,然后这个script在一个路径下(例:newdir/),运行这个app使用runApp("newdir/"). Shiny App由三原创 2020-11-29 17:31:20 · 272 阅读 · 1 评论 -
R Function
# Tidyverse ## dplyr glimpse(data) 查看数据变量类型及前几个值 summarize(data, Variable = function(data, na.rm = TRUE)) 总结数据,可用向量到单值的函数 gather(data, key = Key, value = Value) 使原变量名成为新变量Key的一列值,原变量的观测值原创 2020-09-23 22:16:04 · 682 阅读 · 0 评论