x <- c(0:10, 50)
xm <- mean(x)
c(xm, mean(x, trim = 0.10)) trim不为零时,去掉首尾
?"+"
其中 %% 表示取模,%/%表示取商
??plotting
followed by a keyword related to the problem to search
#表示注释
The apropos functionfinds variables (including functions) that match its input. This is 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:检索
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