cor相關(guān)性: cor():cor(x, y , method = c("pearson", "kendall", "spearman"))計算x,y的相關(guān)性,x,y需要為向...
字符串操作函數(shù) (1)字符合并:paste() (2)字符串大小寫轉(zhuǎn)換:toupper(),to lower() (3)返回字符串的長度:nchar() (4)字符串取子集:...
dataframe簡介 (1)每個數(shù)據(jù)表可以看作一個數(shù)據(jù)框(dataframe)(2)每一列(column)作為一個向量(vector),向量可以由很多類型組成,如數(shù)值型(上...