![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
R
lxqlxq21
这个作者很懒,什么都没留下…
展开
-
R -- 1. 如何查看函数
Access help file ?rnormSearch help files help.search(“rnorm”)Get arguments args(“rnorm”) 会显示:function (n, mean = 0, sd = 1) NULLSee code rnorm 会显示:function (n, mean = 0, sd = 1) .Externa原创 2015-07-16 20:29:51 · 372 阅读 · 0 评论 -
R -- 2. 简单函数Overview
ex: readLines()con <- url("http://www.jhsph.edu", "r")x <- readLines(con)ex: lapply>lapplyfunction (X, FUN, ...){ FUN <- match.fun(FUN) if(!is.vector(X)||is.object(X)) X<-as.list(X)原创 2015-07-16 20:45:29 · 388 阅读 · 0 评论 -
R -- 3 Installing R Packages
一般的R packages 都在CRAN,有些生医工相关的package在Bioconductor Project。a <- available.packages() ##查看一些package的相关信息head(rownames(a),3) ## Show the names of the first few packages会显示:## [1] "A3" "abc" "abcdeFBA"———原创 2015-07-30 21:18:38 · 669 阅读 · 0 评论