New idea to visualize the distribution of PSA sampled parameters
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- r
- Lĩnh vực
- data-visualization
Hướng nghiên cứu
Start by checking how dampack currently exposes plotting and visualization features, then use the supplied R example with df_psa_random to understand the proposed grouping and density-ridge plots. Done would mean a documented way to visualize PSA sampled parameter distributions grouped as probabilities, utilities, costs, and other; the issue does not specify an entry point, tests, or expected interface.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When the DARTH framework is uses, it would be nice to show the sampled distributions in an illustrative way.
Example to get started with. But we can improve this
Melt the dataset
df_melt <- melt(df_psa_random, variable.name = "Parameter")
Create a new column to classify parameters by prefix
df_melt <- df_melt %>%
mutate(Group = case_when(
str_starts(Parameter, "p_") ~ "Probabilities",
str_starts(Parameter, "u_") ~ "Utilities",
str_starts(Parameter, "c_") ~ "Costs",
TRUE ~ "Other"
))
Optionally check the groups
table(df_melt$Group)
df_probs <- df_melt %>% filter(Group == "Probabilities")
Probabilities:
ggplot(df_probs, aes(x = value, y = Parameter)) +
geom_density_ridges(scale = 1.5, rel_min_height = 0.01) +
theme_bw(base_size = 14) +
ggtitle("Probabilities")
df_utils <- df_melt %>% filter(Group == "Utilities")
ggplot(df_utils, aes(x = value, y = Parameter)) +
geom_density_ridges(scale = 1.5, rel_min_height = 0.01) +
theme_bw(base_size = 14) +
ggtitle("Utilities")
df_costs <- df_melt %>% filter(Group == "Costs")
ggplot(df_costs, aes(x = value, y = Parameter)) +
geom_density_ridges(scale = 1.5, rel_min_height = 0.01) +
theme_bw(base_size = 14) +
ggtitle("Costs")
df_other <- df_melt %>% filter(Group == "Other")
ggplot(df_other, aes(x = value, y = Parameter)) +
geom_density_ridges(scale = 1.5, rel_min_height = 0.01) +
theme_bw(base_size = 14) +
ggtitle("Other")
- 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