R
文章平均质量分 93
R笔记
@Zhinuo
这个作者很懒,什么都没留下…
展开
-
Google‘s R Style Guide
转载自:http://web.stanford.edu/class/cs109l/unrestricted/resources/google-style.htmlR 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 · 194 阅读 · 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" Part1 Basic一个Shiny App在一个app.R里面,然后这个script在一个路径下(例:newdir/),运行这个app使用runApp("newdir/").Shiny App由三原创 2020-11-29 17:31:20 · 271 阅读 · 1 评论 -
R Function
# Tidyverse## dplyrglimpse(data)查看数据变量类型及前几个值summarize(data, Variable = function(data, na.rm = TRUE))总结数据,可用向量到单值的函数gather(data, key = Key, value = Value)使原变量名成为新变量Key的一列值,原变量的观测值原创 2020-09-23 22:16:04 · 678 阅读 · 0 评论