You probably saw this XKCD last week, which brought a grimace of recognition to statisticians everywhere:

Curve_fitting

It’s so realistic, that Barry Rowlingson was able to reproduce all but two of the “charts” above with a simple R function (and a little help from the ggplot2 theme):

You can find the R code behind Barry’s reproductions here, and I’m sure he’d welcome contributions for the remaining two charts :). 

 





Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here