# Build your own slide rule with R

- Author: DavidMSmith
- Published: 2009-03-17
- Canonical: https://www.smartdatacollective.com/17207/

If you're a retro-geek like me with fond memories of slide rules but have long since lost yours, now you can build your own with R. Children's Mercy hospital has R code to draw a template for a slide rule. The code, incidentally, is very well written and commented and makes an excellent example of using R to create arbitrary shapes and diagrams. There are also detailed instructions for assembling and using the slide rule for likelihood ratio tests. (Note: the URL on the slide rule no longer works, but I'm guessing this latter link is what it pointed to.)

Children's Mercy Hospital: R code for slide rule

[](http://revolution-computing.typepad.com/.a/6a010534b1db25970b01127971c72b28a4-pi)

