r - 如何将列分解为 x 轴上直方图大小为 0.02 的倒数?
问题描述
如何在 R-Studio 的直方图的 x 轴上将列分解为大小为 0.02 的间隔?
eye = LEFTEYE$X__1
breaks = seq(0.04, 1.08, by=0.02)
eye.cut = cut(eye, breaks, right=FALSE)
eye.freq = table(eye.cut)
cbind(eye.freq)
hist(eye.freq, xlab="Cylindrical Power Measurements for the Left Eye")
解决方案
推荐阅读
- vue.js - Vue-awesome-swiper 在 nuxt 通用应用程序中不起作用
- networking - 从启用 istio 的命名空间到另一个命名空间的 Istio 流量
- c# - 为 IFormFile 实施流利验证的正确方法是什么
- javascript - 从角度范围访问 JavaScript 中的值
- python - 如何为易于更改的配置文件的每个元素存储信息(PYTHON)
- c# - C# 将嵌入的 DLL 复制到用户文件夹
- extjs - 如何在 extjs 的 numberfield 上捕获粘贴事件?
- javascript - 使用 reduce 使用应用脚本将空格添加到 HTML 电子邮件
- c# - 当 CanX 属性返回 true 时 Stylet Button 未启用
- html - 使用 HTML aria-label 时编码 CSS