457 search results for "Knitr"

Caching API calls offline

February 2, 2014
By

I've recently heard the idea of "offline first" via especially Hood.ie. We of course don't do web development, but primarily build R interfaces to data on the web. Internet availablility is increasinghly ubiqutous, but there still are times and places where you don't have internet, but need to get work done. In the R packages we write there...

Read more »

An idiot learns Bayesian analysis: Part 2

February 1, 2014
By
An idiot learns Bayesian analysis: Part 2

A week ago, I wrote a bit about my personal journey to come to grips with Bayesian inference. I referred to the epiphany that when we're talking about Bayesian analysis, what we're talking about- in a tangible way- is using and modifying multivariate distributions. This reminds me of the moment, about twenty years ago now,

Read more »

An idiot learns Bayesian analysis: Part 1

January 25, 2014
By
An idiot learns Bayesian analysis: Part 1

I've done a dreadful job of reading The Theory That Would Not Die, but several weeks ago I somehow managed to read the appendix. Here the author gives a short explanation of Bayes' theorem using statistics related to breast cancer and mammogram results. This is the same real world example (one of several) used by

Read more »

Plain Text, Papers, Pandoc

January 23, 2014
By
Plain Text, Papers, Pandoc

Over the past few months, I've had several people ask me about the tools I use to put papers together. For several year's I've maintained a page of resources somewhat grandiosely headed "Writing and Presenting Social Science". Really it just makes public my configuration files and templates for my text editor and related tools. Things have changed a...

Read more »

Plain Text, Papers, Pandoc

January 22, 2014
By
Plain Text, Papers, Pandoc

Over the past few months, I’ve had several people ask me about the tools I use to put papers together. I maintain a page of resources somewhat grandiosely headed “Writing and Presenting Social Science”. Really it just makes public some configuration files and templates for my text editor and related tools. Things have changed a little recently—which led...

Read more »

Example 2014.2: Block randomization

January 22, 2014
By
Example 2014.2: Block randomization

This week I had to block-randomize some units. This is ordinarily the sort of thing I would do in SAS, just because it would be faster for me. But I had already started work on the project R, using knitr/LaTeX to make a PDF, so it made sense to continue the work in R. RAs is...

Read more »

Using One Programming Language In the Context of Another – Python and R

January 22, 2014
By
Using One Programming Language In the Context of Another – Python and R

Over the last couple of years, I’ve settled into using R an python as my languages of choice for doing stuff: R, because RStudio is a nice environment, I can blend code and text using R markdown and knitr, ggplot2 and Rcharts make generating graphics easy, and reshapers such as plyr make wrangling with data

Read more »

ggplot2: Cheatsheet for Barplots

January 9, 2014
By

<p>Loading ...</p>

Read more »

Jeff Leek’s non-comprehensive list of awesome things other people did in 2013

December 31, 2013
By

Jeff Leek, biostats professor at Johns Hopkins and instructor of the Coursera Data Analysis course, recently posted on Simly Statistics this list of awesome things other people accomplished in 2013 in genomics, statistics, and data science.At risk of s...

Read more »

24 Days of R: Day 19

December 19, 2013
By
24 Days of R: Day 19

Carrying on with the multi-level model, I'm going to look at the paid and incurred workers comp losses for a large number of insurance companies. This is a similar exercise to what I did last night, but I'm now working with real, rather than simulated data and the stochastic process is assumed to be different.

Read more »