library("knitcitations") newbib() l <- c("10.1038/493157a", "10.1098/rspb.2012.2085", "10.1111/j.1095-8649.2012.03464.x", "10.1111/j.2041-210X.2012.00247.x", "10.1098/rsif.2012.0125", "10.1111/j.1558-5646.2012.01619.x", "10.1111/j.1558-5646.2011.01574.x", "10.1016/j.tpb.2009.10.003", "10.1086/508600")
My publication list includes r citet(l)
. Note how knitcitations
appends "a", "b", "c", to disambiguate otherwise identical references. Here's the full bibliography. (Note that the format includes the RDFa markup embedded around the citation text.)
bibliography("rdfa")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.