Add the number of `NA` values to the planned print method for `forecast_*` objects, rather than throw a message?

未关闭
#581 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
r
领域
data

调研方向

首先阅读 as_forecast() 和 print.forecast_*() 方法,跟踪现有的 NA 消息以及 forecast 对象公开其数据的方式。明确完成的更改应报告可移除的 NA 行的确切数量、添加 get_NA() 概览、更新打印输出,还是采用这些方案的组合,然后为约定的行为添加覆盖测试。

由索引模型根据 Issue 内容生成。

描述

feature request

Currently, as_forecast() throws a message when there are NA values in the data that would be removed during e.g. scoring.

  • It would be good to specify the exact number of NA rows that would be removed
  • I think it could be really nice to have a get_NA() function or something like that which would give you an overview of where your NA values are (i.e. which columns have NA values.
  • we could think about adding the number of NA values to print.forecast_*()
主要语言
R
星标
65
派生
24
平均合并
1 小时 24 分钟
30 天内合并 PR
2

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

epiforecasts/scoringutils 的其他 Issue

查看 epiforecasts/scoringutils 的全部 Issue

相似的 Issue

更多 R Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。