November 2014

Secret to Making Things Appear in RStudio Viewer

November 24, 2014 | klr

I am by no means an authoritative source on this, but I think I found out the secret behind htmltools html_print that chooses the RStudio Viewer browser rather than your default browser like utils::browseURL. Here is a quick code snippet that hopefully... [Read more...]

Pipeline to Plot Annual % Change

November 24, 2014 | klr

Pipes in R make my life incredibly easy, and I think my code easier to read.   Note, there are a couple different flavors of pipes (see magrittr and pipeR).  For now, I choose pipeR.library(quantmod)library(pipeR)library(ggplot2)getSymbols("^GSPC",from="1900-01-01",auto.assign=F) %____% #get S&... [Read more...]

The data.table Cheat Sheet

November 24, 2014 | DataCamp

The data.table package provides an enhanced version of data.frame that allows you to do blazing fast data manipulations. data.table is being used in different fields such as finance and genomics, and is especially useful for those of you that are working with large data sets (e.g. 1... [Read more...]

an ABC experiment

November 23, 2014 | xi'an

  In a cross-validated forum exchange, I used the code below to illustrate the working of an ABC algorithm: Hence I used the median and the mad as my summary statistics. And the outcome is rather surprising, for two reasons: the first one is that the posterior on the mean μ is ...
[Read more...]

Interpreting regression coefficient in R

November 23, 2014 | grumble10

Linear models are a very simple statistical techniques and is often (if not always) a useful start for more complex analysis. It is however not so straightforward to understand what the regression coefficient means even in the most simple case when there are no interactions in the model. If we ...
[Read more...]

proper use of GOSemSim

November 22, 2014 | R on Guangchuang Yu

One day, I am looking for R packages that can analyze PPI and after searching, I found the ppiPre package in CRAN. The function of this package is not impressive, and I already knew some related works, including http://intscore.molgen.mpg.de/. The authors of this webserver contacted me ... [Read more...]

Simulating scientists doing experiments

November 22, 2014 | Shravan Vasishth

Following a discussion on Gelman's blog, I was playing around with simulating scientists looking for significant effects. Suppose each of 1000 scientists run 200 experiments in their lifetime, and suppose that 20% of the experiments are such that the n... [Read more...]

Flowers/Fractals

November 21, 2014 | Daniel Marcelino

Last week, I attended a "Flower Fest" where I had the opportunity to admire several of the most beautiful and awarded flowers, orchids, and decoration plants. Surprisingly, though, I never had thought of flowers like fractals the way I did this time. Fractals attract lots of interest, especially from mathematicians ... [Read more...]

New package: curl. High performance http(s) streaming in R.

November 21, 2014 | Jeroen Ooms

A bit ago I blogged about new streaming features in jsonlite:
<span>library</span><span>(</span>jsonlite<span>)</span>
diamonds2 <span><-</span> stream_in<span>(</span><span>url</span><span>(</span><span>"http://jeroenooms.github.io/data/diamonds.json"</span><span>))</span>
In the same blog post it was also mentioned that R does currently not support https connections. The RCurl package does support https, but does not have a connection interface. This bothered me so I decided to write ...
[Read more...]

Information Density and Custom Chart Designs

November 21, 2014 | Tony Hirst

I’ve been doodling today with a some charts for the Wrangling F1 Data With R living book, trying to see how much information I can start trying to pack into a single chart. The initial impetus came simply from thinking about a count of laps led in a particular ...
[Read more...]

Ford uses R for data-driven decision making

November 21, 2014 | David Smith

Mike Cavaretta is Ford Motor Company’s Chief Data Scientist, and was tasked by the incoming CEO Alan Mulally to help change the culture so that "important decisions within the company had to be based on data". In a feature article at Dataconomy, he reveals that R is a big ... [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)