R命令参考卡片中文版.pdf
文本预览下载声明
R comment.char= # ; skip=n expand.grid()
n ; ,NA , rbind(...) , ,
read.csv(filename,header=TRUE) , cbind(...) .
() Tom Short tshort@eprisolutions. csv (Comma Separated values)
read.delim(filename,header=TRUE) ,
com , www.R . tab
( Tom Short ) x[n] n
, . read.fwf(file,widths,header=F,sep=\t,as.is=FALSE) x[-n] n x
, f ixed width f ormatted ; widths x[1:n] n
,
sunbjt@. x[-(1:n)] n+1
save(file,...)
1.3 2008-8-3 x[c(1,4,2)]
save.image(file)
x[name] name
load() save
x[x 3] 3
dump(x,...) x “...”
x[x 3 x 5] (3,5)
cat(..., file=, sep= ) x[x %in% c(a,and,the)]
; sep
R print(a, ...) a
help(topic) topic . x[n] n
?topic
显示全部