![Avatar notebook default](https://cdn2.jianshu.io/assets/default_avatar/avatar-notebook-default-640f7dde88592bdf6417d8ce1902636e.png)
R中讀取數(shù)據(jù)的常用幾種類型: Excel csv txt 其他格式 1. Excel 格式比較常見淡喜,以data.xlsx為例集畅,內(nèi)容如下: 使用r...
1.準(zhǔn)備兩個(gè)excel表格 2.得到結(jié)果:
循環(huán)的種類: repeat 循環(huán): 多次執(zhí)行一系列語句沉删,并簡(jiǎn)化管理循環(huán)變量的代碼 while循環(huán) 在給定條件為真時(shí)讥珍,重復(fù)語句或語句組徙融。 它在執(zhí)行...
這次使用ggplot2畫片段分布圖,一起學(xué)習(xí)的小伙伴加個(gè)好友哭靖,互相學(xué)習(xí)共同進(jìn)步 數(shù)據(jù)是自己分析的到的片段數(shù)據(jù) 下面的參考代碼來自: Histog...
數(shù)據(jù)下載來源于:https://raw.githubusercontent.com/holtzy/data_to_viz/master/Exam...
數(shù)據(jù)下載來源于:https://raw.githubusercontent.com/holtzy/data_to_viz/master/Exam...
1. 頻數(shù)統(tǒng)計(jì)與獨(dú)立性檢驗(yàn) 離散型變量通過計(jì)算頻數(shù)具垫,然后進(jìn)行獨(dú)立性檢驗(yàn) 2. t 檢驗(yàn)與 x wilcox 檢驗(yàn) 連續(xù)型變量獨(dú)立性檢驗(yàn),如果數(shù)據(jù)...
數(shù)據(jù)下載來源于:https://raw.githubusercontent.com/holtzy/data_to_viz/master/Exam...
1.判斷數(shù)據(jù)類型 R中包含很多查看數(shù)據(jù)屬性的函數(shù)款青,例如mode(),class(),str()等霍狰,此外還有is*系列函數(shù)與as系列函數(shù)抡草。 2.修...