r - R中的相对频率直方图
问题描述
我需要使用相对频率的直方图。这是我正在使用的代码。我想要 7 条而不是 10 条。我该如何改变呢?
histo<-hist(DatosTA1$Datos)
barplot(histo$counts/50,col="green",space=0)->bp # n=length(variable)
axis(1,at=b,labels=b)
title(ylab="Frecuencia relativa",xlab="Distribución de frecuencias
del tiempo relativo")
解决方案
推荐阅读
- javascript - WebDriverIO:返回可见元素?
- r - Windows 中的 PostgreSQL
- math - 一维中两条线相交长度的线性表达式
- google-api - Google 服务帐户“无效的 JWT 签名”
- javascript - Number.parseFloat() 或 parseFloat() 有什么区别?
- http - Guzzlehttp 客户端连接通过非标准端口被拒绝
- postgresql - postgres 外部数据包装器没有看到新表
- c++ - 提取尾数的二进制值
- c++ - 条件变量的 .wait_for() 是在特定时间间隔执行后台任务的有效方法吗?
- node.js - MongoDB:将聚合管道返回的数组用于下一阶段的 $in 查询