Allow to add vertical lines for developmental stages
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/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 from the plot method used on the object returned by get_sim (the call plot(sim)[[1]] in the issue). Trace how facets are built and why geom_vline with dev_stages data adds extra facet panels. Adjust mapping or scales so vertical lines share the existing time plots. Confirm by reproducing the four-stage example from the issue body.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
After a call to get_sim and to get_dev_stages for four stages, I plot the sim as curves through time (plot(sim)) followed by custom code to add four dev stages as vertical lines on the same plots:
sim <- get(sim(workspace, usm)
dev_stages <- get_dev_stages(sim, c("iamfs","ilaxs","idrps","inous"), usm)
p <- plot(sim)[[1]] + geom_vline(data=dev_stages[[usm]], aes(xintercept=Date, linetype=var)) +
scale_linetype_manual(values = c("dotted","longdash","dashed","dotdash"))
print(p)
However, this adds four extra "facet" plots, one per dev stages.
Expected change
I would like a code as above (or similar) so that the dev stages appear as vertical lines on the same plots as plot(sim), not on extra facet plots.
- Ngôn ngữ chính
- R
- Star
- 1
- Fork
- 3
- Merge trung bình
- 9 giờ 41 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 SticsRPacks/CroPlotR
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
SticsRPacks/CroPlotR#185 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
SticsRPacks/CroPlotR#180 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
SticsRPacks/CroPlotR#186 ·
-
Error is raised if not any var in data.frames in sim_list of a stics_wrapper returned objectĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 57/100
SticsRPacks/CroPlotR#181 ·
-
enhancement
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 64/100
SticsRPacks/CroPlotR#173 ·
Tất cả issue của SticsRPacks/CroPlotR
Issue tương tự
-
1.7
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
pharmaverse/admiral#3235 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Typo: p.381Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
rmcelreath/rethinking#482 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ 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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày