• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

【菜鸟入门R语言】利用R语言画箱线图 - LiuLyle

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

【菜鸟入门R语言】利用R语言画箱线图

初学R语言,本练习需要理解的概念及函数

 

测试数据集(一批叶片的含水量)

D1,D2,F1,F2
0.679641425,0.616778578,0.701144926,0.672956514
0.642314436,0.5971385,0.737413255,0.641572101
0.709085818,0.60899459,0.705355777,0.687002982
0.657954033,0.611996585,0.7072,0.705341898
0.515342052,0.635512484,0.742316785,0.683508708
0.766070565,0.618644792,0.722236912,0.643619814
0.620027913,0.648732311,0.723470559,0.830927014
0.644486452,0.620531447,0.721645731,0.689307739
0.751831913,0.64511406,0.71731337,0.68235871
0.723698782,0.647748712,0.737846154,0.682436765
0.741531361,0.637055298,0.722557568,0.716312057
0.710610932,0.649346195,0.734561213,0.725098962
0.71503386,0.618976412,0.716650141,0.700668069
0.724870839,0.668632951,0.742448331,0.731794347
0.725080386,0.642141337,0.718728947,0.707714228
0.66234676,,0.724969843,0.68650108
,,0.696793849,

R语言代码

mtcars <- read.csv(file.choose())
boxplot(mtcars$D1,mtcars$D2,mtcars$F1,mtcars$F2,main="Box plot",ylab ="%") 

运行结果

 


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
R语言系列学习(各种检验)发布时间:2022-07-18
下一篇:
R语言与数据分布发布时间:2022-07-18
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap