July 2014

Pie Charts. Are they worth the Fight?

July 28, 2014 | Andy

Like Rob, I recently got back from ICOTS. What a great conference. Kudos to everyone who worked hard to organize and pull it off. In one of the sessions I was at, Amelia McNamara (@AmeliaMN) gave a nice presentation about how … Continue reading → [Read more...]

a:class <- b

July 28, 2014 | romain francois

Usually in strongly typed languages, like C++, the type of a variable comes before the variable, e.g.: int x = 23 ; So x is declared of type int and assignd the value 23. Now, some languages do things differently, e.g. in julia: x::Int8 = 10... [Read more...]

Cigarette and life expectancy

July 28, 2014 | arthur charpentier

Yesterday evening, I uploaded a graph, with the labor productivity as a function of coffee consumption. Of course, it was for fun ! With this kind of regression, base on aggregated data, we can say almost anything, since most of them are correlated because of some (hidden) common factor, such as ... [Read more...]

Calculating VaR with R

July 27, 2014 | Mic

Simulations can be useful in an unimaginably large number of scenarios. Finance in particular is a field of study where maths and statistics have made led to great advances (sometimes for the good, sometimes for the bad). Value at Risk is just another example of subject where a simulation approach ... [Read more...]

Coffee and Productivity

July 27, 2014 | arthur charpentier

On Twitter, I was asked if there were serious research papers published on coffee consumption and labour productivity. There are some papers on coffee breaks and productivity, e.g. Productivity Through Coffee Breaks, but I could not find anything on coffee consumptions. Since I could not find any dataset with ... [Read more...]

Shifting Centre of Gravity of US Fossil Fuel Production

July 27, 2014 | Thiemo Fetzer

My research Fracking Growth investigates the localised impacts of the current oil and gas production boom in the US. The boom is triggered by extraction of oil and gas deposits, that were previously not possible to exploit. The shale deposits have become technologically recoverable due to a combination of horizontal ... [Read more...]

Guns are Cool – States

July 26, 2014 | Wingfeet

Last week I looked at time effects of the shootingtracker database. This week I will look at the states. Some (smaller) states never made it on the database. Other states, far too frequently. The worst of these California. After correcting for populati... [Read more...]

User Request – Shepards Classification of Sediments

July 25, 2014 | Nicholas Hamilton

I received a request overnight on how to render the Shepard’s classification diagram, which is an alternative to the USDA’s textural soil classification. This is quite simple to produce (albeit a little tedious), however, before I walk through the script, immediately below, please see the final result (which ... [Read more...]

Stochastic processes and stocks simulation

July 25, 2014 | Mic

Please before continue reading, make sure to read the disclaimer at the bottom of this article. Sometimes names of phenomena do not look like they suit the things they are attached to. In my opinion, that’s the case for stochastic processes.Stochastic process is a fancy word to describe ... [Read more...]

A Few Notes on UseR! 2014

July 25, 2014 | Yihui Xie

It has been a month since the UseR! 2014 conference, and I'm probably the last one who writes about it. UseR! is my favorite conference because it is technical and not too big. I have completely lost interest in big and broad conferences like JSM (to me, it has become Joint ... [Read more...]

library() vs require() in R

July 25, 2014 | Yihui Xie

While I was sitting in a conference room at UseR! 2014, I started counting the number of times that require() was used in the presentations, and would rant about it after I counted to ten. With drums rolling, David won this little award (sorry, I did not really mean this to ... [Read more...]

A package about nothing

July 25, 2014 | romain francois

nothing is a package about nothing. The idea is that when you do require(nothing) you express that you don't need anything, and therefore nothing assumes you are fine just using the base package, so it detaches all other packages.
> loadedNamespaces()
 [1] "base"      "datasets"  "devtools"  "digest"    "evaluate"  "graphics"
 [7] "grDevices" "httr"      "memoise"   "methods"   "parallel"  "RCurl"
[13] "stats"     "stringr"   "tools"     "utils"     "whisker"
>
> require(nothing)
Loading required package: nothing  
unloading 'methods' package ...  
Failed with error:  ‘invalid 'pos' argument’  
>
> loadedNamespaces()
[1] "base"
I agree, this is completely useless. [Read more...]

Learning from alternative R engines at DSC 2014

July 25, 2014 | David Smith

I was honoured to be invited earlier this month to the Directions of Statistical Computing meeting in Brixen, Italy. DSC is one of two meetings run by the R Project and unlike the useR! conference, DSC is a much smaller and intimate meeting (DSC 2014 had about 30 participants). If you haven't ... [Read more...]

What are the most popular keywords of CRAN packages?

July 24, 2014 | Kun Ren

(This article is adapted to the latest version of rvest package.) A large proportion of R's power should be attributed to the enormous amount of extension packages. Many packages are published to CRAN. These packages cover a wide range of fields. In this post, I'll show you how to use ... [Read more...]

Using RcppArmadillo with bigmemory

July 24, 2014 | Rcpp Gallery

The bigmemory package allows users to create matrices that are external to R, stored either in RAM or on disk, allowing them to be bigger than the system RAM, and allowing them to be shared across R sessions. While these objects are defined by the big.matrix class in R, ...
[Read more...]
1 2 3 4 5 12

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)