November 2012

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...]

Save R objects, and other stuff

November 29, 2012 | Freakonometrics

Yesterday, Christopher asked me how to store an R object, in order to save some time, when working on the project. First, download the csv file for searches related to some keyword, via http://www.google.com/trends/, for instance “sunglasses“. Recall that csv files store tabular data (numbers and ... [Read more...]

Hadley’s guide to high-performance R with Rcpp

November 28, 2012 | David Smith

Hadley Wickham has written a comprehensive tutorial for the Rcpp package, which makes it easy to create C++ code embedded in R programs. Hadley explains why you might want to do this in the introduction: Sometimes R code just isn't fast enough - you've used profiling to find the bottleneck, ... [Read more...]

Hurricane Sandy Land Wind Speed and Kriging

November 28, 2012 | Wesley

NJ Hurricane Sandy Landfall Data These data come from the National Climatic Data Center (NCDC).  Using the above link will download all of the data collected by the NCDC on the day of Hurricane Sandy.  The data can also be obtained directly from the source at http://cdo.ncdc.noaa.... [Read more...]

Picking Lotto Numbers

November 28, 2012 | Jared Knowles

There's not a lot you can do to increase your odds of winning the lottery tonight. With the PowerBall at $500 million though, a lot of otherwise rational folks might be tempted into playing. For those of you newly tempted, it is important to remember a... [Read more...]
1 2 3 14

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)