September 2013

Introducing imagemetrics

September 25, 2013 | Phil

References In my recent projects, I had the opportunity to work with the professor Raphaël Proulx who introduced me to several metrics commonly used in landscape ecology for quantifying image texture. In order to make my life easier, I decided to implement them as a R package. At this ... [Read more...]

Using R to Solve a Geography Puzzle

September 25, 2013 | Todd Schneider

The puzzle: find two points inside the United States such that Both points are in the same state The straight line segment (shortest great circle) connecting them crosses the largest number of distinct states This came up during a recent road trip through Pennsylvania, Maryland, West Virginia, and Virginia, where ... [Read more...]

Direction of Change Forecasting II: The case of the UK

September 25, 2013 | alexios

In the previous blog article I discussed a dynamic binary model for the directional forecast of the US equity market using a select number of economic, fundamental and technical variables as predictors. A natural direction for extending that research would be to look at similar models in different countries or ... [Read more...]

Profiling R code

September 25, 2013 | thiagogm

Profiling R code gives you the chance to identify bottlenecks and pieces of code that needs to be more efficiently implemented [1]. Profiling R code is usually the last thing I do in the process of package (or function) development. In my experience we can reduce the amount of time necessary ... [Read more...]

R as a command-line tool for data science

September 24, 2013 | David Smith

Data Scientist Jeroen Janssens recently published a useful list of 7 data science tools that you can use from the command line. This doesn't just mean they're convenient tools for command-line junkies: it also means you can easily chain them together with data sources for offline, automated processes. Included in the ... [Read more...]

Patterns in the Ivy II: Beyond the Giant Component

September 24, 2013 | benjamin

Last week’s post on the metal collaboration network brought attention largely to the “giant component”–the largest subgraph in a network where all actors have at least one path to all other actors. In large networks, even sparse ones, giant components typically emerge and include the majority of actors ... [Read more...]

You stole my idea!

September 24, 2013 | Gianluca Baio

Earlier today, Gareth has showed me a recent, interesting paper by Michael Sweeting (and colleagues). In the paper, Micheal et al describe their work on a R package to extend on the framework of the Continual Reassessment Method (the ori... [Read more...]

My talk @ GSK

September 24, 2013 | Gianluca Baio

This Thursday I'll give a talk at the GSK Statistics Forum. Erika (with whom I shared a train journey to the 2012 BayesPharma and a group walk in Oxfordshire a few years back) now works at GSK and invited me. I will talk about the model for c... [Read more...]

Bio7 1.7.1 for Linux Released

September 24, 2013 | » R

24.09.2013 I released a new Linux version of Bio7 (64-bit only – see Screenshots below). For an overview of the new features please read the release notes for Windows 1.7.0 and 1.7.1: http://bio7.org/?p=2049 http://bio7.org/?p=2112 In addition some Linux specific improvements are embedded in this release. Additional Linux features: ... [Read more...]

Working with intraday data

September 24, 2013 | rtraderadmin

When working with intraday data, analysts are often facing a large dataset problem. R is well equipped to deal with this but the standard approach has to be modified in some ways. Large dataset means different things to different people. I’m talking here about a dataset of less than 10 ... [Read more...]

Munkres’ Assignment Algorithm with RcppArmadillo

September 24, 2013 | Rcpp Gallery

Munkres’ Assignment Algorithm (Munkres (1957), also known as hungarian algorithm) is a well known algorithm in Operations Research solving the problem to optimally assign N jobs to N workers. I needed to solve the Minimal Assignment Problem for a relabeling algorithm in MCMC sampling for finite mixture distributions, where I use ...
[Read more...]

Changing the width of bars and columns in googleVis

September 24, 2013 | Markus Gesmann

Changing the plotting width in bar-, column- and combo-charts of googleVis works identical and is defined by the bar.groupWidth argument. The dot in the argument means that it has to be split in R into bar="{groupWidth:'10%'}". Example
library(googleVis)<br>cc                       xvar="Country", yvar="Population",<br>                      options=list(seriesType="bars", legend="top",<br>                                   bar="{groupWidth:'10%'}",<br>                                   width=500, height=450),<br>                      chartid="thincolumns")<br>plot(cc)
Your browser doesn't support iframes.Session Info
R version 3.0.1 (2013-05-16)<br>Platform: x86_64-apple-darwin10.8.0 (64-bit)<br><br>locale:<br>[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8<br><br>attached base packages:<br>[1] stats     graphics  grDevices utils     datasets  methods   base     <br><br>other attached packages:<br>[1] googleVis_0.4.5<br><br>loaded via a namespace (and not attached):<br>[1] RJSONIO_1.0-3 tools_3.0.1
[Read more...]

Big Data Bytes: How Open Source is Changing Business

September 23, 2013 | David Smith

I had a fun time on Friday in a Google Hangout chat with David Pittman (IBM), Eric Kavanagh (Bloor Group) and Tom Deutsch (IBM), where we talked about how open source is changing business. The conversation covered several open source projects including R and Hadoop, and ranged from the impact ... [Read more...]

Citations for using Stan?

September 23, 2013 | andrew

Bob writes: If you have papers that have used Stan, we’d love to hear about it. We finally got some submissions, so we’re going to start a list on the web site for 2.0 in earnest. You can either mail them to the list, to me directly, or just ...
[Read more...]

Building models over rolling time periods

September 23, 2013 | Pete

Often I have some idea for a trading system that is of the form “does some particular aspect of the last n periods of data have any predictive use for subsequent periods.” I generally like to work with nice units of time, such as 4 weeks or 6 months, rather than 30 or 126 ... [Read more...]

Waiting in One Line or Multiple Lines

September 23, 2013 | Wesley

Whenever I go to the grocery store it always seems to be a lesson in statistics. I go get the things I need to buy and then  I try to select the checkout register that will decrease the amount of time I have to wait. Inevitably, I select the one ... [Read more...]
1 2 3 4 5 11

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)