Re: [R] Missing shapes in legend with scale_shape_manual

2023-10-31 Thread Rui Barradas
Às 20:55 de 30/10/2023, Kevin Zembower via R-help escreveu: Hello, I'm trying to plot a graph of blood glucose versus date. I also record conditions, such as missing the previous night's medications, and missing exercise on the previous day. My data looks like: b2[68:74,] # A tibble: 7 × 5

Re: [R] Missing shapes in legend with scale_shape_manual

2023-10-31 Thread Kevin Zembower via R-help
t;   scale_shape_manual(name = "Conditions", >          labels = c("Missed meds", >     "Missed exercise"), > values = c(20, 4) >   ) > > > Note that this method then gets ve

Re: [R] Missing shapes in legend with scale_shape_manual

2023-10-31 Thread Howard, Tim G (DEC) via R-help
) + geom_hline(yintercept = 130) + scale_shape_manual(name = "Conditions", labels = c("Missed meds", "Missed exercise"), values = c(20, 4) ) Note that this method then gets very close wi

[R] Missing shapes in legend with scale_shape_manual

2023-10-30 Thread Kevin Zembower via R-help
Hello, I'm trying to plot a graph of blood glucose versus date. I also record conditions, such as missing the previous night's medications, and missing exercise on the previous day. My data looks like: > b2[68:74,] # A tibble: 7 × 5 Date Time bg missed_meds no_exercise