Some code to compute estimates of Baseball Prospectus' DRA metric.
The model specifications are taken from http://www.baseballprospectus.com/article.php?articleid=29118
There is an associated shiny app at http://prettyappealing.graphics/shiny/BProDRAShiny/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.