#r语言中怎么做中心化和标准化。
中心化和标准化意义一样,都是消除量纲的影响
#中心化:数据-均值#标准化:(数据-均值)/标准差
#数据中心化: scale(data,center=T,scale=F)#数据标准化: scale(data,center=T,scale=T) 或默认参数scale(data)
scale方法中的两个参数center和scale的解释:1.center和scale默认为真,即T或者TRUE2.center为真表示数据中心化3.scale为真表示数据标准化新闻热点
疑难解答