精華區beta NCTU-STAT95G 關於我們 聯絡資訊
Add some useful packages (functions) in R to all. Name Illustrations 1. boost : Boosting Methods for Real and Simulated Data 2. classifly : Explore classification models in high dimensions 3. concord : Concordance and reliability 4. dyn : Time Series Regression 5. EMV : Estimation of Missing Values for a Data Matrix 6. FactoMineR: Factor Analysis and Data Mining with R 7. fda : Functional Data Analysis 8. gclus : Clustering Graphics 9. ump : Uniformly Most Powerful Tests 10. TwoWaySurvival : Additiv Two-Way Hazards Modelling of Right Censored Survival Data Reference from http://cran.csie.ntu.edu.tw/src/contrib/PACKAGES.html : In R : : 1. Function for reading binary data: : e.g., : zz = file("D:/Test01.raw", "rb") # Readin binary data : N = 2064384/2; # Numbers of data : nb = 128; # image size = nb x nb : k = 40; # 40th : Img = readBin(zz, "integer", n=N,size=2) # using 2 bytes integer read data : ZZ = matrix(Img[(1+(k-1)*nb*nb):((k)*nb*nb)],nb,nb); # assign 40th image to ZZ : Co = rgb(0:255, 0:255, 0:255, max = 255); #Create gray map : image(1:nb, 1:nb,ZZ,col = Co) # display 40th image : 2. Function for data mining package: : RWeka : Collected many mining tools like those in http://www.cs.waikato.ac.nz/ml/weka/. : http://cran.cs.pu.edu.tw/src/contrib/Descriptions/RWeka.html : 3. Function for Parallel Virtual Machine (PVM): : rpvm : http://cran.cs.pu.edu.tw/src/contrib/Descriptions/rpvm.html : ※ 引述《mangogogo (mangogo)》之銘言: : : 我之前就一直有一個想法就是 : : 大家可以一起分享使用過不錯的code : : 降大家也不用再大費周章花同樣的時間找 : : 所以版主置個底吧 : : 大家要分享就推文 : : 有需要再來推文找找看 : : 說不定就有自己要的 : : 當然這需要大家的共享~~ : : ps. : : R code package 可以去http://www.r-project.org/的Search 中有一個google bar : : 打你要的關鍵字 即可得到介紹code的pdf : : 如果是你要的 去使用R下載 並安裝即可 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.230.209.26
josephw:呵呵~ 01/13 22:41
mangogogo:THX唷~ 01/14 08:06
Y0SHIKI:感謝>< 01/14 17:15