資源描述:
《R語言入門教程.pdf》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、ChangeVieChangeVieF-XwF-XwDeDerrPPwClicktobuyNOW!wClicktobuyNOW!wmwmwowo.dock.c.dock.cu-tracu-tracR語言簡介R語言筆記:數(shù)據(jù)分析與繪圖的編程環(huán)境版本1.7RDevelopmentCoreTeamJune10,2006ChangeVieChangeVieF-XwF-XwDeDerrPPwClicktobuyNOW!wClicktobuyNOW!wmwmwowo.dock.c.dock.cu-tracu-tracContents1緒緒緒論論論與與與基基基礎(chǔ)礎(chǔ)礎(chǔ)
2、11.1R語言環(huán)境...............................11.2相關(guān)的軟件和文檔..........................11.3R與統(tǒng)計................................21.4R與視窗系統(tǒng).............................21.5R的交互使用.............................21.6入門訓(xùn)練...............................31.7獲取函數(shù)和功能的幫助信息.....................31.8R的命
3、令、對大小寫的敏感,等等..................31.9對已輸入命令的記憶和更改.....................41.10命令文件的執(zhí)行和輸出的轉(zhuǎn)向到文件................41.11數(shù)據(jù)的保持與對象的清除......................42簡簡簡單單單操操操作作作;;;數(shù)數(shù)數(shù)值值值與與與向向向量量量52.1向量與賦值..............................52.2向量運算...............................52.3產(chǎn)生規(guī)則的序列................
4、............62.4邏輯向量...............................72.5缺失值.................................72.6字符向量...............................72.7索引向量(indexvector);數(shù)據(jù)集子集的選擇與修改.........82.8對象的其他類型............................93對對對象象象,,,模模模式式式和和和屬屬屬性性性103.1固有屬性:模式和長度........................103
5、.2改變對象的長度............................113.3屬性的獲取和設(shè)置..........................113.4對象的類別..............................114有有有序序序因因因子子子與與與無無無序序序因因因子子子124.1一個特例...............................124.2函數(shù)tapply()與ragged數(shù)組......................124.3有序因子...............................135數(shù)數(shù)數(shù)組
6、組組和和和矩矩矩陣陣陣145.1數(shù)組..................................145.2數(shù)組的索引和數(shù)組的子塊......................145.3索引數(shù)組...............................15iChangeVieChangeVieF-XwF-XwDeDerrPPwClicktobuyNOW!wClicktobuyNOW!wmwmwowo.dock.c.dock.cu-tracu-tracCONTENTSii5.4函數(shù)array()..........................
7、....165.4.1向量,數(shù)組的混合運算,重復(fù)使用規(guī)則...........165.5兩個數(shù)組的外積............................175.6數(shù)組的廣義轉(zhuǎn)置............................175.7專門的矩陣功能............................185.7.1矩陣乘法...........................185.7.2線性方程和矩陣的逆.....................185.7.3特征值和特征向量......................195.8奇異值
8、分解與行列式.........................195.9最小二乘擬合及QR分解