三个相关性函数: cor():R自带的,输入数据可以是vector,matrix,data.frame,输出两两的相关系数R值 cor.test():R自带的,输入数据只能是两个vector,输出两个变量的相关系数R值,显著性水平a值 corr.test():psych包的,输入数据可以是data.frame,输出两两变量的相关系数R值,显著性水平a值 > cor(state.x77) Population Income Illiteracy Life Exp Murder HS Grad Fr
// Underscore.js 1.9.1// http://underscorejs.org// (c) 2009-2018 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors// Underscore may be freely distributed under the MIT license. (function() { // Baseline setup // -------------- // E