2012

Triangle tests

December 2, 2012 | Wingfeet

IntroductionA triangle test is a test beloved by sensory scientists for its simplicity and general use in detecting presence of product differences. The principle is simple. Test subjects get served three samples. One of these contains A, two of these ... [Read more...]

Financial Turbulence Example

December 1, 2012 | systematicinvestor

Today, I want to highlight the Financial Turbulence Index idea introduced by Mark Kritzman and Yuanzhen Li in the Skulls, Financial Turbulence, and Risk Management paper. Timely Portfolio did a great series of posts about Financial Turbulence: Part 1, Part 2, Part 3. As example, I will compute Financial Turbulence for the equal ... [Read more...]

Pro Football Data

December 1, 2012 | PirateGrunt

I’ve made the acquaintance of a group of data analysts here in the triangle and have agreed to arrange an outing to the Durham Bulls minor league baseball team. Because it’s for stat nerds and because I was curious, I went looking for some baseball data to analyze. ... [Read more...]

ExCytR Concept

December 1, 2012 | dgrapov

The concept is to make a GUI to provide a static and dynamic linking between data and its network representations. Static access will involve making networks based on data and metadata stored in some table or spreadsheet. Dynamic control will provide interactive access to network construction and annotation properties. Together, ... [Read more...]

Using XML to grab tables from the web

December 1, 2012 | is.R()

We’re going to try, this December, to bring you an “Advent CalendaR,” for each of the 24 days leading up to Christmas. Each day, our hope is to unwrap a useful R package to show you a useful or interesting function inside! Today&#821... [Read more...]

1 + 1 = 3, the proof in R

December 1, 2012 | jean-robert.github.com

Discussing with some friends the other day, one of them mentioned a supposedly famous quote from Einstein saying that 1 + 1 = 3. Despite my best efforts, Google couldn’t find that particular quote. Anyway, we were trying to understand how could have Einstein come up with that. Our answer was that the proposition “1 + 1 = 3” ... [Read more...]

Trading with Support Vector Machines (SVM)

November 30, 2012 | ivannp

Finally all the stars have aligned and I can confidently devote some time for back-testing of new trading systems, and Support Vector Machines (SVM) are the new “toy” which is going to keep me busy for a while. SVMs are a well-known tool from the area of supervised Machine Learning, ... [Read more...]

Real-Time Predictive Analytics with Big Data, and R

November 30, 2012 | David Smith

Can R be used for real-time applications? Absolutely! The key is in setting up an technology stack that can support real-time interactions with models developed in R ... and a clear understanding of what "real-time" really means, and its implications in the context of Big Data. I explained how this works ... [Read more...]

Lauren Yamane on Matrix Population Models in R

November 30, 2012 | Noam Ross

Last week in Davis R Users’ Group, Lauren Yamane showed us how she created and analyzed a stochastic age-structured population in R. Her examples are below. Her original scripts can be found as *.Rmd files here A note to UC Davis students: This topic and others will be covered by ... [Read more...]

Data types part 4: Logical class

November 30, 2012 | Slawa Rokicki

First, an update:  A commentator has asked me to post my code so that it is easier to practice the examples I show here.  It will take me a little bit of time to get all of my code for past posts well-documented and readable, but I have uploa... [Read more...]

Finding a bright object

November 30, 2012 | is.R()

Finally, to return to the challenge I laid out in the first of this series on image manipulation in R: can we do anything as cool in R as can be done in Mathematica? Like, for example, this illustration of how to search images of the surface of Mars... [Read more...]

edply: combining plyr and expand.grid

November 30, 2012 | Simon Barthelme

Here’s a code snippet I thought I’d share. Very often I find myself checking the output of a function f(a,b) for a lot of different values of a and b, which I then need to plot somehow. An example: here’s a function that computes the ... [Read more...]

Another Way to Access R from Python – PypeR

November 29, 2012 | statcompute

Different from RPy2, PypeR provides another simple way to access R from Python through pipes (http://www.jstatsoft.org/v35/c02/paper). This handy feature enables data analysts to do the data munging with python and the statistical analysis with R by passing objects interactively between two computing systems. Below ... [Read more...]

Earthquakes Over the Past 7 Days

November 29, 2012 | Wesley

This is a brief example using the maps in R and to highlight a source of data.  This is real-time data and it comes from the U.S. Geological Society.  This shows the location of earthquakes with magnitude of at least 1.0 in the lower 48 states. library(maps) library(maptools) library(... [Read more...]

2012-11 Generating Animation Sequence Descriptions

November 29, 2012 | akoh003

This report describes the animaker package for generating descriptions of animation sequences. An animation sequence is composed by combining atomic animations in series to create sequence animations or in parallel to create track animations. Functions are provided for manipulating animation … Continue reading → [Read more...]

The tools in an R package developer’s toolbox

November 29, 2012 | David Smith

Yihui Xie is the creator of several popular R packages, including knitr, animation and cranvas. In an interview with The Setup, he shares some of the software and hardware he uses in his data-to-day work, including (of course) R: For programming and data analysis, I primarily use R since I'm ... [Read more...]

Shiny is the new Cool

November 29, 2012 | pssguy

Several of you will probably have tried out the new Shiny package brought to the table by the RStudio guys This is just what I have been looking for and to my mind could provide a quantum leap in the use of R. There have been other packages addressing the ... [Read more...]

Sorting Within Lattice Graphics in R

November 29, 2012 | Mollie

DefaultBy default, lattice sorts the observations by the axis values, starting at the bottom left.For example,library(lattice)colors = c("#1B9E77", "#D95F02", "#7570B3")dotplot(rownames(mtcars) ~ mpg, data = mtcars, col = colors[1], pch = 1)produc... [Read more...]
1 14 15 16 17 18 170

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)