September 2009

R Function of the Day: rle

September 22, 2009 | erik

Edit: This post originally appeared on my Wordpress blog on September 22, 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 sim... [Read more...]

Emacs Key Binding for eval-defun in lisp-mode

September 22, 2009 | erikr

When I use R in Emacs through the ESS package, C-c C-c in a .R buffer will send a “block” of code to the inferior R process for evaluation. This was added just a few years ago, but my fingers are now trained to use that key combination for evaluating ... [Read more...]

R Function of the Day: table

September 21, 2009 | erikr

The R Function of the Day series will focus on describing in plain language how certain R functions work, focusing on simple examples that you can apply to gain insight into your own data. Today, I will discuss the table function. What situation is table useful in? The table function ... [Read more...]

R Function of the Day: tapply

September 20, 2009 | erik

Edit: This post originally appeared on my Wordpress blog on September 20, 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 sim... [Read more...]

Welcome to Sigmafield

September 20, 2009 | erik

Edit: This post originally appeared on my Wordpress blog on September 20, 2009. I present it here in its original form. John Tukey's preface to Exploratory Data Analysis begins with a useful rule, "It is important to understand what you can... [Read more...]

Structural Equation Modelling in R

September 20, 2009 | Jeromy Anglim

Structural Equation Modelling (SEM) Software is frequently used in psychology. This post discusses the exciting prospect of greater support for SEM in R. ...I have used SEM to:Run confirmatory factor analyses to examine the measurement structure of mul...
[Read more...]

Power Analysis for mixed-effect models in R

September 18, 2009 | toddjobe

The power of a statistical test is the probability that a null hypothesis will be rejected when the alternative hypothesis is true. In lay terms, power is your ability to refine or "prove" your expectations from the data you collect. The most frequent... [Read more...]

Web-Based Multilevel Modeling

September 18, 2009 | jebyrnes

This is tremendously cool. A nice intuitive web-based interface for the lme4 package in R (and you neither need to know R or understand the intricacies of the lme4 package) that gives you pdf output and plots. If you just want to play around and not worry about coding things ... [Read more...]

R Community in Australia

September 17, 2009 | Jeromy Anglim

One of the nice aspects of R is the community of users that has built up around it. The open-source model seems to create an orientation of sharing and contribution. Users benefit from R and then they give back in the form of new packages, free documen...
[Read more...]

Workflow in R

September 17, 2009 | Rob J Hyndman

This came up recently on StackOverflow. One of the answers was particularly helpful and I plan to adopt this for my future work. In fact, it is close to what I already do, but is a little more structured. The idea is to break the code into four files, ... [Read more...]

Example 7.12: Calculate and plot a running average

September 17, 2009 | Nick Horton

The Law of Large Numbers concerns the stability of the mean, as sample sizes increase. This is an important topic in mathematical statistics. The convergence (or lack thereof, for certain distributions) can easily be visualized in SAS and R (see also Horton, Qian and Brown, 2004).Assume that X1, X2, ..., Xn ...
[Read more...]

R clinic this week: Regression Modeling Strategies in R

September 16, 2009 | Stephen Turner

At this week's R clinic Frank Harrell will unveil the new rms (Regression Modeling Strategies) package that is a replacement for the R Design package.  He will demonstrate the differences with Design, especially related to enhanced graphics for displaying effects in regression models.  Frank will also discuss the implementation of ... [Read more...]

Multiple Linear Regression

September 14, 2009 | rtutor.chiyau

A multiple linear regression (MLR) model that describes a dependent variable y by independent variables x1, x2, ..., xp (p __ 1) is expressed by the equation as follows, where the numbers α and βk (k = 1, 2, ..., p) are the parameter... [Read more...]
1 2 3 4

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)