This is a collection of utilities that I find useful. Among other things:
lmSummary()
, which is a version of summary.lm()
but provides F statistics and $R^2_p$ for each term in an lm
object.loadStuff()
function, which takes a character vector of packages. If require(pkg)
returns FALSE
then the package is installed.makePdf()
function which makes sending graphics output to a pdf device much quicker.install.packages('devtools'); library(devtools)
install_github('Cmell/CMUtils')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.