February 2017

Using Rcpp with C++11, C++14 and C++17

February 18, 2017 | 0 Comments

Background When we started the Rcpp Gallery in late 2012, a few of us spent the next four weeks diligently writing articles ensuring that at least one new article would be posted per day. Two early articles covered the then-budding support for C++11. ... [Read more...]

Analytical and Numerical Solutions to Linear Regression Problems

February 18, 2017 | 0 Comments

This exercise focuses on linear regression with both analytical (normal equation) and numerical (gradient descent) methods. We will start with linear regression with one variable. From this part of the exercise, we will create plots that help to visualize how gradient descent gets the coefficient of the predictor and the ...
[Read more...]

Putting It All Together

February 18, 2017 | 0 Comments

The kind folks over at @RStudio gave a nod to my recently CRAN-released epidata package in their January data package roundup and I thought it might be useful to give it one more showcase using the recent CRAN update to ggalt and the new hrbrthemes (github-only for now) packages. Labor ...
[Read more...]

cricketr and yorkr books – Paperback now in Amazon

February 18, 2017 | 0 Comments

My books – Cricket Analytics with cricketr – Beaten by sheer pace!: Cricket analytics with yorkr are now available on Amazon in both Paperback and Kindle versions The cricketr and yorkr packages are written in R, and both are available in CRAN. The books contain details on how to use these R ...
[Read more...]

Accessing MSSQL Server with R (RSQLServer with dplyr)

February 18, 2017 | 0 Comments

Recently I have been starting to use dplyr for handling my data in R. It makes everything a lot smoother! My previous workflow – running an SQL query, storing the results as CSV, loading it in RStudio – is now history. With dplyr you can directly query data from many different databases ...
[Read more...]

RPushbullet 0.3.1

February 17, 2017 | 0 Comments

A new release 0.3.1 of the RPushbullet package, following the recent 0.3.0 release is now on CRAN. RPushbullet is interfacing the neat Pushbullet service for inter-device messaging, communication, and more. It lets you easily send alerts like the on... [Read more...]

A plot against the CatterPlots complot

February 17, 2017 | 0 Comments

In these terrible times, we R people have more important subjects to debate/care about than ggplot2 vs. base R graphics (isn’t even worth discussing anyway, ggplot2 is clearly the best alternative). Or so I thought until I saw CatterPlots trending on...
[Read more...]

Using Armadillo with SuperLU

February 17, 2017 | 0 Comments

Armadillo is very versatile C++ library for linear algebra, brough to R via the RcppArmadillo package. It has proven to be very useful and popular, and is (as of February 2017) used by well over 300 CRAN packages as indicated by the reverse depends / ... [Read more...]

A plot against the CatterPlots complot

February 17, 2017 | 0 Comments

In these terrible times, we R people have more important subjects to debate/care about than ggplot2 vs. base R graphics (isn’t even worth discussing anyway, ggplot2 is clearly the best alternative). Or so I thought until I saw CatterPlots trending on...
[Read more...]

Optimization and Operations Research in R

February 17, 2017 | 0 Comments

Authors: Stefan Feuerriegel and Joscha Märkle-Huß R is widely taught in business courses and, hence, known by most data scientists with business background. However, when it comes to optimization and Operations Research, many other languages are used. Especially for optimization, solutions range from Microsoft Excel solvers to modeling environments ... [Read more...]

Catterplots: Plots with cats

February 17, 2017 | 0 Comments

As a devotee of Tufte, I'm generally against chartjunk. Graphical elements that obscure interpretation of the data occasionally have a useful role to play, but more often than not that role is to entertain the expense of enlightenment, or worse, to actively mislead. So it's with mixed feelings that I ... [Read more...]

January New Data Packages

February 17, 2017 | 0 Comments

by Joseph Rickert As forecast, the number of R packages hosted on CRAN exceeded 10,000 in January. Dirk Eddelbuettel, who tracks what’s happening on CRAN with his CRANberries site, called hurricaneexposure the 10,000th package in a tweet on January 27th. hurricaneexposure was one of two hundred and six new packages ... [Read more...]

Naive Bayes Classification in R (Part 2)

February 17, 2017 | 0 Comments

Following on from Part 1 of this two-part post, I would now like to explain how the Naive Bayes classifier works before applying it to a classification problem involving breast cancer data. The dataset is sourced from Matjaz Zwitter and Milan Soklic from the Institute of Oncology, University Medical Center in ...
[Read more...]

Naive Bayes Classification in R (Part 1)

February 17, 2017 | 0 Comments

Introduction A very useful machine learning method which, for its simplicity, is incredibly successful in many real world applications is the Naive Bayes classifier. I am currently taking a machine learning module as part of my data science college course and this week’s practical work involved a classification problem ...
[Read more...]

How to perform PCA with R?

February 17, 2017 | 0 Comments

This post shows how to perform PCA with R and the package FactoMineR. If you want to learn more on methods such as PCA, you can enroll in this MOOC (everyting is free): MOOC on Exploratory Multivariate Data Analysis Dataset Here is a wine dataset, with 10 wines and 27 sensory attributes (...
[Read more...]

How to use jailbreakr

February 17, 2017 | 0 Comments

What is jailbreakr The jailbreakr package is probably one of the most interesting packages I came across recently. This package makes it possible to extract messy data from spreadsheets. What is meant by messy? I am sure you already had to deal with spreadsheets that contained little tables inside a ... [Read more...]

How to use jailbreakr

February 17, 2017 | 0 Comments

What is jailbreakr The jailbreakr package is probably one of the most interesting packages I came across recently. This package makes it possible to extract messy data from spreadsheets. What is meant by messy? I am sure you already had to deal with spreadsheets that contained little tables inside a ... [Read more...]

Exploratory Multivariate Data Analysis with R- enroll now in the MOOC

February 17, 2017 | 0 Comments

Exploratory multivariate data analysis is studied and has been taught in a “French-way” for a long time in France. You can enroll in a MOOC (completely free) on Exploratory Multivariate Data Analysis. The MOOC will start the 27th of February. This MOOC focuses on 4 essential and basic methods, those with ...
[Read more...]
1 4 5 6 7 8 16

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)