2016

New paper: “SPLASH, a hashed identifier for mass spectra”

November 11, 2016 | Egon Willighagen

I'm excited to have contributed to this important (IMHO) interoperability paper around metabolomics data: "SPLASH, a hashed identifier for mass spectra" (doi:10.1038/nbt.3689, readcube:msZj). A huge thanks to all involved in the great collaborative project! The source code project is fully open source and coordinated by Gert Wolgemuth, the ... [Read more...]

Make a bar plot with ggplot

November 11, 2016 | wszafranski

The first time I made a bar plot (column plot) with ggplot (ggplot2), I found the process was a lot harder than I wanted it to be. This post steps through building a bar plot from start to finish. First, let’s make some data. I’m going to make ...
[Read more...]

Easy Cross Validation in R with `modelr`

November 11, 2016 | Jacob Simmering

When estimating a model, the quality of the model fit will always be higher in-sample than out-of-sample. A model will always fit the data that it is trained on, warts and all, and may use those warts and statistical noise to make predictions. As a result, a model that performs ... [Read more...]

Mapping Election Results in Utah

November 10, 2016 | Julia Silge

My adopted home state of Utah has been a weird place this election cycle. For the unfamiliar, Utah is extremely conservative when it comes to politics; it is one of the reddest of the red states and has backed the Republican candidate for president for... [Read more...]

Descriptive Analytics-Part 3 : Outlier treatment

November 10, 2016 | Vasileios Tsakalos

Descriptive Analytics is the examination of data or content, usually manually performed, to answer the question “What happened?”. In order to be able to solve this set of exercises you should have solved the part 0 and’part 1 , and part 2 of this series but also you should run this script which ... [Read more...]

ggloop: An R package to create multiple ggplot2 plots

November 10, 2016 | Luke Smith

ggloop is an R package which creates multiple ggplot2 plots with a single function call. The main function, ggloop(), accepts vectors of aesthetics via aes_loop(), which allows ggloop() to generate multiple plots. To read more about this package (which is available on CRAN), you can check out the package ... [Read more...]

Why optim() is out of date

November 10, 2016 | nashjc

Why optim() is out of date And perhaps you should be careful using it Once upon a time Once upon a time, there was a young Oxford D.Phil. graduate with a thesis on quantum mechanics who — by virtue of a mixup in identities — got hired as an Agricultural Economist. ... [Read more...]

Image Compression with Singular Value Decomposition

November 10, 2016 | Aaron Schlegel

As mentioned in a previous post, image compression with singular value decomposition is a frequently occurring application of the method. The image is treated as a matrix of pixels with corresponding color values and is decomposed into smaller ranks that retain only the essential information that comprises the image. In... ...
[Read more...]

AirBnB grows by sharing data scientist knowledge

November 10, 2016 | David Smith

This animation of AirBnB host locations from 2011-2014, presented by Ricardo Bion (data scientist manager at AirBnb) at the EARL Boston conference earlier this week, shows the dramatic growth in properties to rent through the service along with the most common routes of travellers. (You can find the R code ... [Read more...]

Hierarchical models with RStan (Part 1)

November 10, 2016 | grumble10

Real-world data sometime show complex structure that call for the use of special models. When data are organized in more than one level, hierarchical models are the most relevant tool for data analysis. One classic example is when you record student performance from different schools, you might decide to record ...
[Read more...]

Aggregating basic statistics group-wise in R

November 10, 2016 | krishnad2

Many times, while doing Statistical analysis, we have to evaluate the descriptive statistics like mean, standard deviation and so on for a number of variables, group-wise. Most of the Statistical packages like SAS, SPSS and so on provide these features. In R, the data.table package is very useful for ... [Read more...]

Updating Call Arguments

November 9, 2016 | Peter E. DeWitt

The stats::update function is one of my favorite tools in R. Using this function saves a lot of time and effort when needing to modify an object. However, this function has its limits. The following is an example of how to extend the use of stats::up... [Read more...]

Updating Call Arguments

November 9, 2016 | Peter E. DeWitt

The stats::update function is one of my favorite tools in R. Using this function saves a lot of time and effort when needing to modify an object. However, this function has its limits. The following is an example of how to extend the use of stats::up... [Read more...]

A Free Interactive Plotly R Tutorial

November 9, 2016 | DataCamp Blog

Did you know last month over 23,000 (!) R enthusiasts directly downloaded the Plotly R package? In case you were not one of them, the Plotly package is one of the best R tools to create beautiful, interactive data visualizations as proven by these exa...
[Read more...]

2016-14 ‘DOM’ version 0.4

November 9, 2016 | pmur002

This report describes changes in version 0.4 of the ‘DOM’ package for R. The main change in this version is the addition of new functions that allow control over the Cascading Style Sheet (CSS) content of a web page. This provides programmatic control over the styling of HTML and SVG content ... [Read more...]

2016-14 ‘DOM’ version 0.4

November 9, 2016 | pmur002

This report describes changes in version 0.4 of the ‘DOM’ package for R. The main change in this version is the addition of new functions that allow control over the Cascading Style Sheet (CSS) content of a web page. This … Continue reading → [Read more...]
1 26 27 28 29 30 174

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)