suggestion to add a wrapper function to turn the BCEA object into the dampack object
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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)
}
- Ngôn ngữ chính
- R
- Star
- 43
- Fork
- 14
- Merge trung bình
- 4 giờ 44 phút
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DARTH-git/dampack
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Release dampack 1.1.0 to CRANĐang mởrelease
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation release
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DARTH-git/dampack
Issue tương tự
-
documentation priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Pascal-Kueng/dyadMLM#179 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Consider changesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
OHDSI/OmopSketch#618 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
bug exec:agent status:fix-merged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ichirio/rtfreporter#1046 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày