当前位置:网站首页>Use R-Pack skimr to collect the beautiful display of President measurement
Use R-Pack skimr to collect the beautiful display of President measurement
2022-07-29 10:33:00 【Mrrunsen】
The first step of data analysis is often through some descriptive statistics , Gain the necessary understanding of the data set being analyzed . For this task , stay R There are two traditional functions that are often used in , One is str(), Used to show the internal structure of the object , Give an overview of the variables in the dataset ; The other is summary(), Give some Forex measurements :
library(tidyverse)
str(diamonds)
summary(diamonds)
### The result is a little
This article will introduce R package skimr, It can provide a richer and more beautiful way to display the measurement of variables .
skimr The advantages of the bag :
Provides a ratio summary() More statistics , It also allows users to add new statistics
Can handle more data types , And report the results according to the data type
have access to knitr Render the table , And support based on pillar Bag spark_bar and spark_line, Output more beautiful results .
skimr The core function of the package is skim(), Its function is to deal with ( In groups ) Data frame , And if possible, cast other types of objects into data frames .skim() It acts on every column of the data frame , According to each column ( Variable ) The type of gives the corresponding statistics :
边栏推荐
- Performance optimization analysis tool | perf
- [paper reading] i-bert: integer only Bert quantification
- 【论文阅读】Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
- Vim到底可以配置得多漂亮?
- [semantic segmentation] 2021-pvt iccv
- Achieve the effect of a menu tab
- Method of cocos2d-x sprite moving
- 2022cuda summer training camp day3 practice
- [HFCTF 2021 Final]easyflask
- What happens when MySQL tables change from compressed tables to ordinary tables
猜你喜欢

皕杰报表之文本附件属件

【黑马早报】每日优鲜回应解散,多地已无法下单;李斌称蔚来将每年出一部手机;李嘉诚欲抄底恒大香港总部大楼;今年国庆休7天上7天...

可线性渐变的环形进度条的实现探究

为什么要使用markdown进行写作?

电竞入亚后,腾讯要做下一个“NBA赛事捕手”?
![[jetson][reprint]pycharm installed on Jetson](/img/65/ba7f1e7bd1b39cd67018e3f17d465b.png)
[jetson][reprint]pycharm installed on Jetson

云服务大厂高管大变阵:技术派让位销售派

跟着田老师学实用英语语法(持续更新)

Follow teacher Tian to learn practical English Grammar (continuous update)

这才是开发者神器正确的打开方式
随机推荐
[HFCTF 2021 Final]easyflask
Comprehensive and detailed SQL learning guide (MySQL direction)
What happens when MySQL tables change from compressed tables to ordinary tables
Performance optimization analysis tool | perf
Vim到底可以配置得多漂亮?
Why use markdown to write?
What is "enterprise level" low code? Five abilities that must be possessed to become enterprise level low code
"Focus on machines": Zhu Songchun's team built a two-way value alignment system between people and robots to solve major challenges in the field of human-computer cooperation
“为机器立心”:朱松纯团队搭建人与机器人的价值双向对齐系统,解决人机协作领域的重大挑战
Object storage
How beautiful can VIM be configured?
会议OA项目(五)---- 会议通知、反馈详情
Docker installation, redis configuration and remote connection
Network picture to local picture - default value or shortcut key
Oncopy and onpaste
架构实战营模块八作业
[jetson][reprint]pycharm installed on Jetson
Explore SQL Server metadata (I)
Does neural network sound tall? Take you to train a network from scratch (based on MNIST)
【配置相关】