Basic Mathematical Functions

April 20, 2013
By

R can perform the usual mathematical operations, below are the functions:Arithmetic +    - addition-    - subtraction*    - multiplication/    - divisionTrigonometrysin    ...

Read more »

Agent-based modeling in R – habitat diversity and species richness

April 20, 2013
By
Agent-based modeling in R – habitat diversity and species richness

How does habitat diversity affect species richness? Perhaps intuition suggests that habitat diversity increases species richness by facilitating niche or resource partitioning among species. But, for a fixed area, as habitat heterogeneity increases, the area that can be allocated to each habitat type decreases. In a recent paper, Allouche and colleagues (2012) provide a theoretical and empirical treatment...

Read more »

Open Source software’s opportunity to reform government

April 19, 2013
By
Open Source software’s opportunity to reform government

The results from the 2013 Future of Open Source Survey are in — thanks to everyone who contributed by completing the survey. You can read an overview of the results here, or see the detailed breakdowns in the slides at the end of this post. For me, one of the most interesting nuggets from the survey is that a...

Read more »

Popup notification from R on Windows

April 19, 2013
By
Popup notification from R on Windows

After R is done running a long process, you may need to notify the operator to check the R console and provide the next commands. Without installing any more software or creating any batch files or VBS scripts, here is a simple way to create the popup notice in Windows Continue reading →

Read more »

A Course in Data and Computing Fundamentals

April 19, 2013
By
A Course in Data and Computing Fundamentals

Daniel Kaplan and Libby Shoop have developed a one-credit class called Data Computation Fundamentals, which was offered this semester at Macalester College. This course is part of a larger research and teaching effort funded by Howard Hughes Medical Institute (HHMI) to help students … Continue reading →

Read more »

Do the same thing to a bunch of variables with lapply()

April 19, 2013
By
Do the same thing to a bunch of variables with lapply()

It is extremely common to have a dataframe containing a bunch of variables, and to do the exact same thing to all of these variables. For instance, lets say we have a dataframe that has a bunch of limb bone measurements of different animals, and we wan...

Read more »

Using the SVD to find the needle in the haystack

April 19, 2013
By
Using the SVD to find the needle in the haystack

Sitting with a data set with too many variables? The SVD can be a valuable...

Read more »

Third Milano R net meeting: leave a comment

April 19, 2013
By

Third Milano R net meeting took place on April, 18. More than thirty R users and a lot of enthusiasm! You can download presentations and view pictures of the meeting. If you attended the meeting, please leave a comment. Stay … Continue reading →

Read more »

Photos of the third Milano R net meeting

April 19, 2013
By
Photos of the third Milano R net meeting

Photos of the third Milano R net meeting Milano; April 18, 2013

Read more »

Presentations of the third Milano R net meeting

April 19, 2013
By

Welcome presentation Nicola Sturaro, Consultant at Quantide (download PDF, 0.5 MB) Machine learning A case of digit recognition based on a shallow neural network implemented in R. Michele Vitali, Statistical consultant (download PDF, 0.2 MB) Chess betting odds How to develop … Continue reading →

Read more »

R: Streets of France

April 19, 2013
By
R: Streets of France

I was Inspired from Ben Frys all Streets project. There he plotted all streets of the United States of America (about 240 million segments). I tried this first for the countries in Europe, France has about 22 million segments, with the goal to get an all street map of Europe. My data source originate from the OpenStreetMap project and was...

Read more »

In Praise of Quandl!

April 18, 2013
By

Data - the econometrician's life-blood! Can't function without it.So, when a new source of data becomes available - especially one that's sophisticated, reliable, and FREE - it's time to sit up and take notice. Quandl is a recent Canadian start-up that delivers economic and financial time-series data, and then some.It's an interesting business model. When you go...

Read more »

Amazon AWS Summit 2013

April 18, 2013
By
Amazon AWS Summit 2013

I was fortunate enough to have been able to attend the Amazon AWS Summit in NYC and to listen to Werner Vogels give the keynote.  I will share a few of my thoughts on the AWS 2013 Summit and some of my take-aways.  I attended sessions that focused on two products in particular: Redshift and

Read more »

GSoC 2013: At the starting line

April 18, 2013
By
GSoC 2013: At the starting line

Google Summer of Code will be open for students on Monday, April 22.  The R Project has once again been selected as a mentoring organization , and a variety of mentors have proposed a number of projects for students to work on during this summer.  Here’s a bit about the program, and more on the

Read more »

Le Monde puzzle [#817]

April 18, 2013
By
Le Monde puzzle [#817]

The weekly Le Monde puzzle is (again) a permutation problem that can be rephrased as follows: Find where denotes the set of permutations on {0,…,10} and is defined modulo 11 . Same question for and for This is rather straightforward to code if one adopts a brute-force approach:: (where I

Read more »

Debugging Tools in R with Michael Hannon

April 18, 2013
By
Debugging Tools in R with Michael Hannon

Today at Davis R Users’ Group, Michael Hannon gave a great talk on how to use R’s native debugging functions. Here are his notes and code. Introduction This is a discussion of debugging techniques in R. It is based on a paper by Roger Peng, now at Johns Hopkins University (http://www.biostat.jhsph.edu/~rpeng/docs/R-debug-tools.pdf) Focus on five functions: traceback debug browser trace recover Severity level R mainly uses...

Read more »

MLB Pitcher Values

April 18, 2013
By
MLB Pitcher Values

Not the start Blue Jays fans were looking for. With a 6-9 record at the time of publication they already trail Boston (led by reviled ex-BJ manager, John Farrell) by 4.5 games. The batting has been particularly anemic but the pitching – particularly the starting rotation – has also been a concern I have whipped

Read more »

Using ggplot2 to recreate 2012 Best Cities Results

April 18, 2013
By
Using ggplot2 to recreate 2012 Best Cities Results

Data from: http://images.businessweek.com/slideshows/2012-09-26/americas-50-best-citiesThis time, I used ggplot2 to recreate the graphs created previously using Tableau. After all, R and ggplot2 are open source and free. Yes, I could leave a space...

Read more »

Using multilevel models to get accurate inferences for repeated measures ANOVA designs

April 18, 2013
By
Using multilevel models to get accurate inferences for repeated measures ANOVA designs

It is now increasingly common for experimental psychologists (among others) to use multilevel models (also known as linear mixed models) to analyze data that used to be shoe-horned into a repeated measures ANOVA design. Chapter 18 of Serious Stats introduces multilevel models by considering them as an extension of repeated measures ANOVA models that can

Read more »

Examples for sjPlotting functions, including correlations and proportional tables with ggplot #rstats

April 18, 2013
By
Examples for sjPlotting functions, including correlations and proportional tables with ggplot #rstats

Sometimes people ask me how the examples of my plotting functions I show here can be reproduced without having a SPSS data set (or at least, without having the data set I use because it’s not public yet). So I … Weiterlesen →

Read more »

Cut Dates Into Quarters

April 18, 2013
By

Frequently I need to recode a date column to quarters. For example, at Excelsior College we have continuous enrollment so we report new enrollments per quarter. To complicate things a bit, our fiscal year starts in July so that July, August, and September represent the first quarter, January, February, and March are actually the third quarter. But sometimes...

Read more »

CrossFit weights: gender matters less than you’d think

April 17, 2013
By
CrossFit weights: gender matters less than you’d think

Exploring Gaussian Mixture Models Exploring Gaussian Mixture Models This week in the Empirical Research Methods course, we've been talking a lot about measurement error. The idea of having some latent variable of interest, coupled with 'flawed' measures reminded me of a section of Cosma's course I really enjoyed, but haven't gotten a change to go...

Read more »

Banging on the JGBs

April 17, 2013
By

Since I have not posted in quite a while, I wanted to let everyone know that I am still alive and kicking.  The resurrection of excitement (opportunity) in the markets, quarterly reporting cycle, and the overwhelming number of unbelievable R/javascript releases have kept me from writing something good enough to justify a post.   In the markets, Japan and gold...

Read more »

More reasons not to use Excel for modeling

April 17, 2013
By
More reasons not to use Excel for modeling

As if the London Whale nearly bankrupting Chase Bank wasn't lesson enough, we now hear that an Excel error impacted the conclusions of a major economics paper that influenced the recent austerity policies in the US, UK and elsewhere. Matt Frost says enough is enough, and implores to everyone to stop using error-prone point-and-click tools, and instead use a...

Read more »

Mind Reading… What are our customers thinking?

April 17, 2013
By

Normal 0 false false false EN-US X-NONE X-NONE ...

Read more »

Bioconductor looking for Google Summer of Code Applicants

April 17, 2013
By
Bioconductor looking for Google Summer of Code Applicants

Aannounced: the 177 mentoring organizations accepted for 2013’s Google Summer of Code program. We’re proud that Bioconductor is one the organizations chosen. Google Summer of Code is a global program that offers students stipends (USD$5000) to write code for open source projects. We’ve proposed three ideas. Students may also propose their own ideas. Project 1: ExperimentHub AnnotationHub and its supporting packages are primed to support such a project. AnnotationHub provides infrastructure...

Read more »

ggplot dodged vs faceted bar chart

April 17, 2013
By
ggplot dodged vs faceted bar chart

I've been bowling once per year at a charity event for the last few years and have kept track of the outcomes to share my group. I used ggplot2 to create a bar chart for the scores. Below are two graphs, one is dodged, the other is faceted. There's no ...

Read more »

Version 1.2 of devtools released

April 17, 2013
By
Version 1.2 of devtools released

We’re very pleased to announce the release of devtools 1.2. This version continues to make working with packages easier by increasing installation speed (skipping the build step unless local = FALSE), enhancing vignette handling (to support the non-Sweave vignettes available in R 3.0.0), and providing better default compiler flags for C and C++ code. Also

Read more »

Intro R training from RStudio: NYC May 13-14, SF May 20-21 (and discounts)

April 17, 2013
By

At RStudio, we’re hosting our Introduction to R Workshop this May in two locations. As an R-help subscriber, we’re offering 10% off! Intro to data science with R (http://goo.gl/bplg3)   May 13-14 New York City Intro to data science with R (http://goo.gl/VCUFL)  May 20-21 San Francisco Bay Area What will you learn? Practical skills for visualizing, transforming, and modeling data in R....

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.