October 2009

Example 7.16: assess robustness of permutation test to violations of exchangeability assumption

October 24, 2009 | Nick Horton

Permutation tests (section 2.4.3) are a form of resampling based inference that can be used to compare two groups. A simple univariate two-group permutation test requires that the group labels for the observations are exchangeable under the null hypothesis of equal distributions, but allows relaxation of specific distributional assumptions required by ...
[Read more...]

A primer to Sweave with LyX

October 24, 2009 | Jitao David Zhang

This is a step-by-step guide to 'Sweave' a document in R with Lyx on Ubuntu (9.04).System: Ubuntu 9.04, LyX 1.6.2, R 2.11.0 (Development version, r50178)Install LyX with Synaptic if it is not installed yet. (Current version 1.6.2)Start LyX, go to menu ... [Read more...]

Data Mining and R

October 24, 2009 | Jeromy Anglim

This post lists a few data mining resources in R. I also provide a few observations on the distinction between data mining, data analysis, and statistics as it pertains to the analysis work that I do in psychology.Online ResourcesThe classic book The E...
[Read more...]

RSPerl : Using R from within Perl

October 23, 2009 | Stewart MacArthur

Some things I write in perl some in R, sometime I use perl to write R and run R. One thing that I find very useful is the functionality of RSPerl which enables you to call R functions from within perl and on perl variables. It can also call perl ... [Read more...]

ISO week

October 22, 2009 | Forester

I am working with a model that produces estimates of snow water equivalent through time. Because I deal with large spatial extents, I decided to have the model produce weekly averages. The problem with this is knowing which file to access for a given d... [Read more...]

Leap years

October 22, 2009 | Forester

A quick function that when provided a numeric vector of years returns a boolean vector where TRUE == Leap year.is.leapyear=function(year){ #http://en.wikipedia.org/wiki/Leap_year return(((year %% 4 == 0) & (year %% 100 != 0)) | (year %% 400 == 0))} [Read more...]

Aggreate electoral targeting with R

October 22, 2009 | jjh

Aggregate electoral targeting is the process of determining the likely hood of a citizen choosing to vote turnout), and which candidate that person is most likely to vote for (partisan bias) in a given race using historical turnout and partisan bias. The output from this targeting allows a campaign to ... [Read more...]

ggplot2: Two Color XY-Area Combo Chart

October 21, 2009 | learnr

David@Work blog shows how to fill in the area between two crossing lines in an Excel chart. This post was also published as a guest-post on PTS blog. Let’s try to replicate this graph in ggplot2. First, load ggplot2 and generate the data frame to be used in ... [Read more...]

InferenceR looks interesting

October 21, 2009 | Shige

I obtained a free academic copy of the InferenceR, which is a R IDE for Windows. I has several interesting features such as a visual debugger. It is definitely worth some further exploration. Of course, the problem (and the only problem for now) is tha...
[Read more...]

[, [[, $: R accessors explained

October 21, 2009 | Christopher Brown

For more than ten years, I have been teaching R both formally and informally. One thing that I find often trips up students is the use of R’s accessors and mutators. ( For those readers not from a formal computer science background, an accessor is a method for accessing data ...
[Read more...]

AlgoCompSynth Reading List

October 21, 2009 | Ed Borasky

Gerhard Niehaus Algorithmic Composition: Paradigms of Automated Music Generation by Gerhard Nierhaus Iannis Xenakis Formalized Music by Iannis Xenakis Music and Architecture: Architectural Projects, Texts, and Realizations by Iannis Xenakis Harry Partc... [Read more...]

The geese are migrating, and so have I

October 20, 2009 | Ed Borasky

topsyWidgetPreload({ "url": "http%3A%2F%2Fborasky-research.net%2F2009%2F10%2F20%2Fthe-geese-are-migrating-and-so-have-i%2F", "style": "big", "title": "The geese are migrating, and so have I" }); As someone wiser than I once said, “It’s fall – time to roast footballs and play touch marshmallow.” Or something like that. It’s the time of ... [Read more...]

Running JAGS via R2jags

October 20, 2009 | Shige

I finally figure out how to run WinBUGS examples in JAGS via R2jags. JAGS is preferred over WinBUGS for its cross-platform compatibility and performance (it was written in C++).
[Read more...]

RPostgreSQL 0.1-6

October 19, 2009 | Thinking inside the box

A quick bug fix released of RPostgreSQL was uploaded to CRAN earlier today; it updates last week's 0.1-5 release. An editing error left one of the helper functions broken. I also updated a few of the test scripts to also allow for optional environmen... [Read more...]

Comments on the "R Clinic"

October 19, 2009 | Jeromy Anglim

Theresa Scott runs an R Clinic at Vanderbilt. Researchers bring their questions along to weekly sessions and some answers are posted on this website.  It's great to see the combination of statistical consulting services and public posting of answe...
[Read more...]
1 2 3 4 5

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)