R语言格式化百分比数据 2019-04-02 本文已影响0人 lucier19981 (一)通过函数实现百分比格式化 # 百分比格式化 format_percnet <-function(x){return(paste0(format(x*100,digits = 2),"%"))}