[R-sig-Geo] Solid and dashed line.

Enoch Gyamfi Ampadu eg@mp@du @end|ng |rom gm@||@com
Sun Feb 14 09:19:35 CET 2021


Dear list,

Please I need some assistance. I have been asked to produce a 1:1 line
(dashed) and a line of best fit (solid) in a scatter plot. I have tried
geom_abline() but it gives only the solid line. I also tried lty("dashed")
to get the dashed line but it not working. I would be glad if I could get
some assistance on how to do it.

Best regards,

Enoch.

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list