数据探索 summarytools包

#sudo apt install libmagick++-dev

library(summarytools)
data("tobacco")
dfSummary(tobacco)
print(dfSummary(tobacco),method = 'render')
descr(tobacco$BMI)
descr(tobacco$BMI,weights = tobacco$samp.wgts)
freq(tobacco$disease)
freq(tobacco$disease,weights = tobacco$samp.wgts)
ctable(tobacco$disease,tobacco$gender)

评论

此博客中的热门博文

V2ray websocket(ws)+tls+nginx分流

Rstudio 使用代理