r - 如何在timevis中显示全部内容?
问题描述
如果一个时间窗口比较短,内容比较长,timevis
只会显示一个smart部分。我可以将其设置end
为NA
显示所有内容,但我也想显示时间线。
data <- data.frame(
id = 1:4,
content = c("Item one" , "Item two" ,"Ranged item", "Item four"),
start = c("2016-01-10", "2016-01-11", "2016-01-20", "2016-02-14 15:00:00"),
end = c("2016-01-11","2016-01-12", "2016-02-04", NA))
#Item one and two are not fully displayed
timevis(data)
我正在为不同的成员整理一份旅行日历。如果有其他更好的 R 包可以满足此需求,请告诉我。
解决方案
推荐阅读
- c# - 在 hangfire jobfilter 生命周期中处理 Simple Injector 异步范围
- ruby-on-rails - ubuntu 服务器(nginx+passenger+capistrano)上的 Rails 应用程序日志在哪里?
- r - R中的Beta回归模型
- python - Django不呈现表单字段
- soap - 使用失眠症来打肥皂电话
- python - {Python} 如何将字典转换为坐标?
- python - 将绘图树状图应用于文本数据
- r - 确保使用 {mongolite} 读取 MongoDB 数据时数据帧变为 tibbles
- php - 在 Laravel Excel 中插入不存在的数据并拒绝存在的数据
- swift - 状态变量和 ForEach Swift