摘要: ## 通常使用scale函数可以直接得到Z分数 ## x <- scale(data) ## 需要均值标准差时,直接可以在输出里看到 ## scale(data) ## 如果想取出均值标准差 ## mean <- attr(x,'scaled:center') std <- attr(x,'scaled:scale') 阅读全文
posted @ 2018-08-09 13:16 JoAnna_L 阅读(551) 评论(0) 推荐(0) 编辑