suggestion to add a wrapper function to turn the BCEA object into the dampack object
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
The issue proposes a bcea_to_dampack wrapper that reads the cost (c), effectiveness (e) and interventions fields of a BCEA object and passes them to make_psa_obj. Start by checking how make_psa_obj expects its inputs and what the BCEA object contains, then confirm the conversion with a small BCEA example. Done means the function returns a valid dampack PSA object and the reverse direction is either scoped or split into its own issue. The author's currency default is an open question to settle with maintainers.
索引モデルが issue の本文から書いたものです。
説明
Convert a bcea object into a dampack psa object
BCEA is has great functionalities, however, not all the same as dampack
With this function users can hop form one to the other quickly
We might also make the reverse function
dampack_to_bcea if of interest to others
bcea_to_dampack <- function(obj_bcea, currency = "£") {
df_c <- as.data.frame(obj_bcea$c)
df_e <- as.data.frame(obj_bcea$e)
colnames(df_c) <- obj_bcea$interventions
colnames(df_e) <- obj_bcea$interventions
make_psa_obj(cost = df_c,
effectiveness = df_e,
strategies = obj_bcea$interventions,
currency = currency)
}
- 主要言語
- R
- スター
- 43
- フォーク
- 14
- 平均マージ
- 4時間 44分
- マージ済み PR(30日)
- 15
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DARTH-git/dampack のほかの issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
release
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
メンテナーはふだん 1 日以内に返信
-
documentation release
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
メンテナーはふだん 1 日以内に返信
DARTH-git/dampack の issue をすべて見る
似ている issue
-
documentation priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Pascal-Kueng/dyadMLM#179 ·
メンテナーはふだん 1 日以内に返信
-
Consider changesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
OHDSI/OmopSketch#618 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
bug exec:agent status:fix-merged
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ichirio/rtfreporter#1046 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信