R
Follow
Find
10.7K views | +0 today
 
Scooped by Steven L. Johnson
onto R
Scoop.it!

Use geom_rect() to add recession bars to your time series plots #rstats #ggplot

Use geom_rect() to add recession bars to your time series plots #rstats #ggplot | R | Scoop.it
Zach Mayer's work reproducing John Hussman's Recession Warning Composite prompted me to dig this trick out of my (Evernote) notebook.

First, let's grab some data to plot using the very handy get...
more...
No comment yet.
R
R open source statistical computing and graphics
Your new post is loading...
Your new post is loading...
Scooped by Steven L. Johnson
Scoop.it!

R spells for data wizards

R spells for data wizards | R | Scoop.it
Some R tricks that you might not find in typical introductory materials
Steven L. Johnson's insight:

Handy primer of R tricks.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

How do I re-arrange…?: Ordering a plot.

How do I re-arrange…?: Ordering a plot. | R | Scoop.it

Solid answer to a vexing question... how to re-arrange items in a plot in R. Read on for answer with #rstats source code.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

How to choose the right *apply function

How to choose the right *apply function | R | Scoop.it

This is an amazing stackoverflow answer to help you decide which of the many *apply functions (apply, lapply, sapply, vapply, mapply, rapply, tapply) is appropriate for the task at hand.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Revisiting “Ranking the popularity of programming languages”: creating tiers « Zero Intelligence Agents

Revisiting “Ranking the popularity of programming languages”: creating tiers « Zero Intelligence Agents | R | Scoop.it

What do R and Haskell have in common? They are both among the top tier of popularity in this ranking of programming languages.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Transforming a color scale

Transforming a color scale | R | Scoop.it

Example of how to remap a color range to have effective Z values added to an X-Y plot.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

» Improved net stacked distribution graphs via ggplot2 trickery Statisfactions: The Sounds of Data and Whimsy

» Improved net stacked distribution graphs via ggplot2 trickery Statisfactions: The Sounds of Data and Whimsy | R | Scoop.it

Improved net stacked distribution graphs via ggplot2 trickery

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

A look at Bayesian statistics | Portfolio Probe | Generate random portfolios. Fund management software by Burns Statistics

A look at Bayesian statistics | Portfolio Probe | Generate random portfolios. Fund management software by Burns Statistics | R | Scoop.it
An introduction to Bayesian analysis and why you might care.
more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Add Text Annotations to ggplot2 Faceted Plot

Add Text Annotations to ggplot2 Faceted Plot | R | Scoop.it

Tyler Rinker shows exactly how to add text annotations to a ggplot2 faceted plot in #RStats

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Visually weighted regression in #RStats

Visually weighted regression in #RStats | R | Scoop.it

These are some of the most interesting regression plots I've ever seen.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Win-Vector Blog » How robust is logistic regression?

Win-Vector Blog » How robust is logistic regression? | R | Scoop.it

If you use logistic regression you need to read John Mount's post:  How robust is logistic regression?

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Twitter coverage of the ISMB 2012 meeting: some statistics

Twitter coverage of the ISMB 2012 meeting: some statistics | R | Scoop.it

Here's an nice example of analyzing tweets with R from @neilfws

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

theBioBucket*: Tcl/Tk GUI Example with Variable Input by User

theBioBucket*: Tcl/Tk GUI Example with Variable Input by User | R | Scoop.it

Sometimes it is really useful to add user input into R. Here's a good example of how.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

If you are into large data and work a lot with package ff

If you are into large data and work a lot with package ff | R | Scoop.it

Got large data sets? Here's an introduction to the #Rstats package ff.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

The distribution of ideology in the U.S. House (with plyr)

The distribution of ideology in the U.S. House (with plyr) | R | Scoop.it

Concise visualization (with #rstats code) of US House votes by party.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Review of “R For Dummies” | Portfolio Probe | Generate random portfolios. Fund management software by Burns Statistics

Review of “R For Dummies” | Portfolio Probe | Generate random portfolios. Fund management software by Burns Statistics | R | Scoop.it

"Executive summary Pretty much all I'd hoped for -- and I had high hopes."

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Curved arrows in R

Curved arrows in R | R | Scoop.it

For most of us, this isn't the kind of thing that comes up all that often, but when it does... it's nice to know what the options are! So, here's how draw curved arrows with R.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Style your R charts like the Economist, Tableau ... or XKCD

Style your R charts like the Economist, Tableau ... or XKCD | R | Scoop.it

Love this post by @revodavid showing how to make you ggplot2 output look like some popular websites.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Working with Bipartite/Affiliation Network Data in R

Working with Bipartite/Affiliation Network Data in R | R | Scoop.it
This is something I put together a long time ago and recently updated for use with larger data sets. Preliminaries Much of the material here is covered in the more comprehensive “Social Netwo...
more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Digithead's Lab Notebook: OO in R

Digithead's Lab Notebook: OO in R | R | Scoop.it
Object oriented programming in R using S4 classes...
more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

The Shape of Code » Descriptive statistics of some Agile feature characteristics

The Shape of Code » Descriptive statistics of some Agile feature characteristics | R | Scoop.it

A detailed analysis (using R) of a set of computer code developed using agile methods.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

theBioBucket*: Follow-Up: Making a Word Cloud for a Search Result from GScholar_Scraper_3.1

theBioBucket*: Follow-Up: Making a Word Cloud for a Search Result from GScholar_Scraper_3.1 | R | Scoop.it

Kay Cichini provides code and details on how to create a word cloud from a data set grabbed from Google Scholar searches.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

R-Studio

R-Studio | R | Scoop.it

I agree with @aghaynes, RStudio is a must have for an #rstats user.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Engaging Market Research: Halo Effects and Multicollinearity: Separating the General from the Specific

Engaging Market Research: Halo Effects and Multicollinearity: Separating the General from the Specific | R | Scoop.it

This is a highly informative discussion of measuring attitudes.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

Some Quirks of the R Language | librestats

R as a language: some good, bad, and ugly.

more...
No comment yet.
Scooped by Steven L. Johnson
Scoop.it!

The Relative Importance of Predictors - Let the Games Begin!

The Relative Importance of Predictors - Let the Games Begin! | R | Scoop.it

On determining the relative importance of regression predictors in #rstats

more...
No comment yet.