Etikettarkiv: regression lines

Using R: drawing several regression lines with ggplot2

Occasionally I find myself wanting to draw several regression lines on the same plot, and of course ggplot2 has convenient facilities for this. As usual, don’t expect anything profound from this post, just a quick tip! There are several reasons … Läs mer

Publicerat i computer stuff, data analysis | Märkt , , , | 2 kommentarer

”How to draw the line” with ggplot2

In a recent tutorial in the eLife journal, Huang, Rattner, Liu & Nathans suggested that researchers who draw scatterplots should start providing not one but three regression lines. I quote, Plotting both regression lines gives a fuller picture of the … Läs mer

Publicerat i data analysis | Märkt , , , , | 6 kommentarer