当前位置:网站首页>R 语言nutrient数据集的可视化
R 语言nutrient数据集的可视化
2022-06-22 19:17:00 【Mrrunsen】
在 flexclust 包中的营养数据集,它包括对27种肉、鱼和禽的营养物质的测量
energy食物能量(卡路里)。
protein蛋白质(克)。
fat脂肪(克)。
calcium钙(毫克)。
iron铁(毫克)。
数据集是否存在缺失值
data(nutrient, package="flexclust")
library(VIM )
aggr(nutrient, prop=FALSE, numbers=TRUE)

人们常说脂肪越多, 食物能量越多,这是对吗?
ggplot(nutrient) +
aes(x = energy , y = fat) +
geom_point() + stat_smooth()

脂肪越多, 食物能量越多,散点图告诉这个观点是对的
library(ggcorrplot)
nutrient %>%
cor() %>%
round(2) %>%
ggcorrplot(hc.order = TRUE,lab = TRUE)
边栏推荐
- Random talk about redis source code onehundredandtwenty
- MySQL advanced (II)
- Introduction to async profiler
- 树莓派环境设置
- [deeply understand tcapulusdb technology] create a game area for document acceptance
- How to calculate yoy and mom in MySQL
- An error is reported when idea writes JSP code, but it is solved by normal operation
- 92-几个用match_recognize SQL写法示例
- Raspberry pie environment settings
- 85-这些SQL调优小'技巧',你学废了吗?
猜你喜欢

智能計算之神經網絡(BP)介紹
MySQL中如何计算同比和环比

智能计算之神经网络(Hopfield网络-DHNN,CHNN )介绍
Summary of 2019: 31 is just another start

科技云报道:东数西算不止于“算”,更需“新存储”

client-go gin的简单整合十一-Delete
How to calculate yoy and mom in MySQL

How to realize @ person function in IM instant messaging

uniapp小程序商城开发thinkphp6积分商城、团购、秒杀 封装APP

一张图解码 OpenCloudOS 社区开放日
随机推荐
元宇宙中的云计算,提升你的数字体验
Cross domain cors/options
【奇葩需求之记录对象不同的日志】
How to calculate yoy and mom in MySQL
MySQL基础——约束
3个月自学自动化测试,薪资从4.5K到15K,鬼知道我经历了什么?
Cloud computing in the metauniverse to enhance your digital experience
Web technology sharing | [Gaode map] to realize customized track playback
播放增长900w,B站用户叫好叫座的恰饭总结
Kotlin1.6.20新功能Context Receivers使用技巧揭秘
底部菜单添加的链接无法跳转到二级页面的问题
MySQL基础——函数
Several common MySQL commands
CVPR 2022 oral | video text pre training new SOTA, HKU and Tencent arc lab launched excuse task based on multiple-choice questions
Dynamicdatabasesource, which supports the master-slave database on the application side
ROS从入门到精通(八) 常用传感器与消息数据
Three dimensional world helps the laboratory to consolidate the complete quality system management
Ribbon负载均衡
[deeply understand tcapulusdb technology] create a game zone
手把手教你IDEA创建SSM项目结构