1 R
R
RRStudio
RRStudio
R
()1112,3,211800161211800161
R HYPERLINK http://www.r-project.org/ http://www.r-project.org/
CRANR
Windows
R
RStudio
Rexam1.R
>x<-1:4 #1234x>a<-10>x*a
>x+a
>sum(x)#
>max(x)#
>min(x)#
>mean(x)#
>median(x) #x
>var(x) #
>sort(x) #
R
> X<-c(35,40,40,42,37,45,43,37,44,42,41,39) > hist(X); plot(X)
R
getwd()
Dtest
1sessionset working directorychoose directory
2setwd(d:\test)/
ToolsInstall.PackagesInstall from:Repository(CRAN), Packages plyr, Install .
library()plyr
renameExamples.
ls()
Reviews
There are no reviews yet.