Learning R学习笔记

来源:互联网 发布:服务器数据库备份 编辑:程序博客网 时间:2024/06/07 03:46
How to Get Help in R:
?mean  
x <- c(0:10, 50)xm <- mean(x)c(xm, mean(x, trim = 0.10))    trim不为零时,去掉首尾?"+"其中 %% 表示取模,%/%表示取商??plottingfollowed by a keyword related to the problem to search#表示注释The apropos function finds variables (including functions) that match its input. Thisis really useful if you can only half-remember the name of a variable that you’ve created,or a function that you want to use. For example, suppose you create a variable a_vector:a_vector <-  c(1, 3, 6, 10)You can then recall this variable using apropos:apropos("vector" )## [1] ".__C__vector" "a_vector" "as.data.frame.vector"## [4] "as.vector" "as.vector.factor" "is.vector"## [7] "vector" "Vectorize"apropos:通过关键字查找retrieve:检索
0 0