December 2017

Make your own color palettes with paletti

December 22, 2017 | That’s so Random

Last week I blogged about the dutchmasters color palettes package, which was inspired by the wonderful ochRe package. As mentioned I shamelessly copied the package. I replaced the list with character vectors containing hex colors and did a find and replace to make it dutchmasters instead of ochRe. This was ...
[Read more...]

R caching with financial data

December 22, 2017 | artstein2017

In the previous post we looked at a simple data caching example which we used to explore the workings of the R-package DataCache. In this post we continue with this exploration. Instead of just using system time as the datafeed we now use a more real world example of financial ... [Read more...]

Because it’s Friday: Deck the Halls

December 22, 2017 | David Smith

Sure, this is a promo for a movie, but I'd love to have a full-length single of this: Relatedly, if you want to settle an argument about which pop diva has the greatest vocal range, Giora Simchoni used R to perform frequency analysis of their hits: That's all from us ... [Read more...]

R-caching (and scheduling)

December 22, 2017 | artstein2017

This is in preparation for running a custom Shiny server. We want to accelerate the server by using caching. In the this post we take a look at a candidate caching package. In this post we’ll explore a the package DataCache. It is a very useful package, however, I ... [Read more...]

chRistmas tRees

December 22, 2017 | smarterpoland

Year over year, in the last classes before Christmas I ask my students to create a Christmas tree in R. Classes are about Techniques of data visualisation and usually, at this point, we are discussing interactive graphics and tools like rbokeh, ggiraph, vegalite, googleVis, D3, rCharts or plotly. I like ... [Read more...]

New Package swatches is Now on CRAN

December 21, 2017 | hrbrmstr

It’s been a long time coming, but swatches? is now on CRAN. What is “swatches”? First off, swatches has nothing to do with those faux-luxury brand Swiss-made timepieces. swatches is all about color. R/CRAN has plenty of color picking packages. The colourlovers? ? by @thosjleeper is one of my ...
[Read more...]

M4 Forecasting Competition update

December 21, 2017 | R on Rob J Hyndman

The official guidelines for the M4 competition have now been published, and there have been several developments since my last post on this. There is now a prize for prediction interval accuracy using a scaled version of the Mean Interval Score. If...
[Read more...]

Word Embeddings with Keras

December 21, 2017 | Daniel Falbel

Word embedding is a method used to map words of a vocabulary to dense vectors of real numbers where semanticaly similar words are mapped to nearby points. Representing words in this vector space help algorithms achieve better performance in na... [Read more...]

Looking Back on 2017

December 21, 2017 | Data Imaginist

Say what you will about 2017 - it sure made an impact. In the broader view I’m pretty sure all sensible people can agree that that impact was predominantly negative, but even so, small pockets of good can happen. So, here’s a short post about all (...
[Read more...]

Nov 2017: New Package Picks

December 21, 2017 | R Views

Two hundred thirty-seven new packages made it to CRAN in November. Here are my picks for the “Top 40” organized into the categories: Computational Methods, Data, Data Science, Science, Social Science, Utilities and Visualizations. Computational Methods CVXR v0.94-4: Implements an object-oriented modeling language for disciplined convex programming (DCP) which allows ...
[Read more...]

A tour of the data.table package by creator Matt Dowle

December 21, 2017 | David Smith

The data.table package provides a high-performance interface for querying and manipulating data tables (a close cousin of data frames). In the video below (recorded at the H2OWorld conference), creator Matt Dowle gives a tour of the package and provides several examples of its use. If you'd like to ... [Read more...]

How to apply Linear Regression in R

December 21, 2017 | Prashant Shekhar

Machine Learning and Regression Machine Learning (ML) is a field of study that provides the capability to a Machine to understand data and to learn from the data. ML is not only about analytics modeling but it is end-to-end modeling that broadly involves following steps: – Defining problem statement – Data collection. – ...
[Read more...]

Skip errors in R loops by not writing loops

December 20, 2017 | rdata.lu Blog | Data science with R

You probably have encountered situations similar to this one:
result = vector("list", length(some_numbers))

for(i in seq_along(some_numbers)){
  result[[i]] = some_function(some_numbers[[i]])
}

print(result)
First I initialize result, an empty list of size equal to the length of some_numbers which will contains the results of applying some_function() to each element of some_numbers. Then, using a for loop, I apply the function. ... [Read more...]

Let it flow, let it flow, let it flow……

December 20, 2017 | HighlandR

Animating dot plots to demonstrate patient flow - Dots.. This is not the blog post I’d originally intended to write. But I’m glad - because this one is so much better. Some background. I’m one of the few Scotland based members of Ap...
[Read more...]
1 2 3 4 5 6 13

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)