- Feb 03 Tue 2015 23:18
-
R 學習筆記(6)
- Jan 31 Sat 2015 15:34
-
R 學習筆記(5)

查看目前系統包含哪些library
> library()C:\Program Files\R\R-3.1.2\library 可以找到對應的library資料夾載入某一個library例如boot
library(boot)
- Jan 31 Sat 2015 10:42
-
R 學習筆記(4)

Writing your own functions計算兩點距離
1: > calDist<-function(x1, x2){ 2: + d = x1 - x2; 3: + dist = d * d; 4: + sdist = sqrt( sum(dist) ); 5: + sdist 6: + }
- Jan 20 Tue 2015 11:55
-
R 學習筆記(3)

Reading data from filesread.table() 或是 scan()利用read.table讀取houses.txt
1: > HousePrice <- read.table("C:\\statistics R\\houses.txt")
2: > HousePrice 3: Price Floor Area Rooms Age Cent.heat 4: 01 52.00 111 830 5 6.2 no 5: 02 54.75 128 710 5 7.5 no 6: 03 57.50 101 1000 5 4.2 no 7: 04 57.50 131 690 6 8.8 no 8: 05 59.75 93 900 5 1.9 yes
- Jan 18 Sun 2015 21:09
-
安裝R-(D)COM Interface

R-(D)COM Interface (for Windows) contains a COM server used to connect a client application (e.g., Microsoft Excel) with R. An Add-In for Microsoft Excel is provided as well as Active X controls to be included in your applicationsC:\Program Files (x86)\statconn\DCOM預設只有勾選前兩項
---------------------------------------------------------------------------------------------------------------------------------
- Jan 17 Sat 2015 17:43
-
R 學習筆記(2)
array( 初始值, 維度) 產生2x3陣列裡面元素為0
1: > x<-array(0, dim=c(2,3)) 2: > x 3: [,1] [,2] [,3] 4: [1,] 0 0 0 5: [2,] 0 0 0
- Jan 10 Sat 2015 20:34
-
R 學習筆記

下載各類工具套件 http://CRAN.R-project.orgR-intro.pdf為官方手冊,值得初學者研讀線上中文版: R 導論
宣告一個變數名稱為 x 的向量, 其中 <- 為指派運算子(assign operator)
1: > x <- c(1, 2, 3, 4, 5) 2: > x 3: [1] 1 2 3 4 5
- Jan 08 Thu 2015 10:28
-
R的package安裝及簡單入門

official website: http://www.r-project.org/Taiwan
http://ftp.yzu.edu.tw/CRAN/
Department of Computer Science and Engineering, Yuan Ze Universityhttp://cran.cs.pu.edu.tw/
Providence University, Taichunghttp://cran.csie.ntu.edu.tw/
National Taiwan University, Taipei
1
