Monthly Archives: September 2009

How to Import MS Excel Data into R

September 26, 2009
By
How to Import MS Excel Data into R

s Sir Francis Bacon said, “Histories make men wise; poets witty; the mathematics subtile; natural philosophy deep; moral grave; logic and rhetoric able to contend.” And Windows stupid. He should have added the last sentence if he were a Windows user in this age. 1. Avoid Using M$ Excel A lot of R users often ask this question:

Read more »

Formatting a Table in Word | R to Tab-Delimited to APA Style

September 25, 2009
By
Formatting a Table in Word | R to Tab-Delimited to APA Style

The following post sets out my procedure for importing a tab-delimited table of data produced in R  into Microsoft Word and formatting it.Prior to importing table:Run macro which does the followingInsert Caption: References - Insert Capt...

Read more »

Non-parametric Methods

September 24, 2009
By
Non-parametric Methods

A statistical method is called non-parametric if it makes no assumption on the population distribution or sample size. This is in contrast with most parametric methods in elementary statistics that assume the data is quantitative, the population...

Read more »

digest 0.4.0 and 0.4.1

September 24, 2009
By

After almost two years, I just made a small update to the digest package for R by adding sha-256 as another supported hashing function. While at this, a few minor edits where made here or there. Version 0.4.0 also included a file src/Makefile.win b...

Read more »

Example 7.13: Read a file with two lines per observation

September 24, 2009
By
Example 7.13: Read a file with two lines per observation

In example 7.6 we showed how to retrieve the Amazon sales rank of a book. A cron job on one of our machines grabs the sales rank hourly. We’d like to use this data to satisfy our curiosity about when and how often a book sells. A complication is that the result of the cron job is a...

Read more »

R Function of the Day: cut

September 23, 2009
By

This post originally appeared on my Wordpress blog on September 23, 2009. I present it here in its original form. The R Function of the Day series will focus on describing in plain language how certain R functions work, focusing on simple ex...

Read more »

ggplot2: Back-to-back Bar Charts

September 23, 2009
By
ggplot2: Back-to-back Bar Charts

On the ggplot2 mailing-list the following question was asked: How to create a back-to-back bar chart with ggplot2? For anyone who don’t know what I am talking about, have a look on a recent paper from the EU. I’d like to create plots like the graph...

Read more »

High yield spread

September 23, 2009
By
High yield spread

Last week I had opportunity to participate at NYU, where one of the lecturers was Z-score man’s. He spent same time talking about the high yield spread as measure of the macro economy. Then spread is high (junk bonds become very cheap and Treasuries become ‘gold’) -  crisis is right here. Intuitively, it is similar

Read more »

R Sessions 33: Select (nested) observations with equal number of occurences

September 23, 2009
By

Recently, I was contacted with an question about R code. A befriended researcher was working with nested data, which was unbalanced. He was working with data in a ‘long’ format: all observations nested within the same group had the same ...

Read more »

RGG #158:161: examples of package IDPmisc

September 23, 2009
By
RGG #158:161: examples of package IDPmisc

three new graphs have made their way to the graph gallery, submitted by Reto Burgin Image lag plot matrix Image scatter plot matrix Regular time series

Read more »

Sponsors

Mango solutions



plotly webpage

dominolab webpage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training

datasociety

http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training









Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)