Skip to content

Commit 501d53b

Browse files
committed
plotting fix
1 parent 6402232 commit 501d53b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/plotting.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ plot_ssb <- function(data, v1="hcr", v2=NA, v3=NA, show_est=FALSE, common_trajec
4343
geom_lineribbon(data = base_hcr_d, aes(x=time, y=median, ymin=lower, ymax=upper, group=.data[[v1]], color=color_group), size=0.85)+
4444
geom_line(aes(x=time, y=median, ymin=lower, ymax=upper, group=.data[[v1]], color=color_group, size=color_group))+
4545
geom_line(
46-
data = d %>% filter(color_group != "Other", time > common_trajectory-1),
46+
data = d %>% filter(color_group != "Other", time > common_trajectory-1, L1 == "naa"),
4747
aes(x=time, y=median, ymin=lower, ymax=upper, group=.data[[v1]], color=color_group, size=color_group)
4848
)+
4949
geom_line(data = common, aes(x=time, y=median), size=0.85)+

0 commit comments

Comments
 (0)