数据准备
# Select columns of interest mydata <- mtcars %>% select(mpg, disp, hp, drat, wt, qsec) # Add some missing values mydata$hp[3] <- NA # Inspect the data head(mydata, 3)
数据准备
# Select columns of interest mydata <- mtcars %>% select(mpg, disp, hp, drat, wt, qsec) # Add some missing values mydata$hp[3] <- NA # Inspect the data head(mydata, 3)
本文标题:R语言进行相关矩阵分析及其可视化
本文链接:https://www.haomeiwen.com/subject/piwiphtx.html
网友评论