989 search results for "how to import image file to r"

New Online Tool for Seasonal Adjustment

March 20, 2015
By
New Online Tool for Seasonal Adjustment

A new website is showcasing the use of seasonal and allows for online seasonal adjustment of time series.

Read more »

Beating the benchmark for the Kaggle Otto Group Product Classification Challenge with a simple R script

March 19, 2015
By
Beating the benchmark for the Kaggle Otto Group Product Classification Challenge with a simple R script

Two days ago, Kaggle began a new competition called the Otto Group Product Classification Challenge. In this competition, participants are challenged to create a model to correctly classify products between 9 product categories (fashion, electronics, etc.). The data consists of 200k products with 93 features each. The features have been obfuscated so it’s hard to … Continue reading...

Read more »

A first look at rxBTrees

March 19, 2015
By
A first look at rxBTrees

by Joseph Rickert The gradient boosting machine as developed by Friedman, Hastie, Tibshirani and others, has become an extremely successful algorithm for dealing with both classification and regression problems and is now an essential feature of any machine learning toolbox. R’s gbm() function (gbm package) is a particularly well crafted implementation of the gradient boosting machine that served as...

Read more »

Giving a Damn About Statistics: Baseball, Shark Attacks, and Green M&M’s

March 13, 2015
By
Giving a Damn About Statistics: Baseball, Shark Attacks, and Green M&M’s

Trying to hide from statistics is tough. Believe me. I tried. And I did a pretty decent job keeping the subject at bay until my early twenties. Much like grammar, statistics are everywhere (wait…statistics …is everywhere?).  It’s unavoidable. We see statistics in the news: in the news… and, well, it’s really all over the news. With such

Read more »

How to Make a Histogram with ggplot2

March 12, 2015
By
How to Make a Histogram with ggplot2

In our previous post you learned how to make histograms with the hist() function. You can also make a histogram with ggplot2, “a plotting system for R, based on the grammar of graphics”. This post will focus on making a Histogram With ggplot2. Want to learn more? Discover the DataCamp tutorials. Step One. Check That The post

Read more »

Reading from and writing to SPSS, SAS and STATA with R #rstats #sjPlot

March 11, 2015
By
Reading from and writing to SPSS, SAS and STATA with R #rstats #sjPlot

On CRAN now My sjPlot-package was updated on CRAN (binaries will be available soon, I guess). This update contains, besides many small improvements and fixes, two major features: First, new features to print table summaries of linear models and generalized linear models (for sjt.glm, the same new features were added as to sjt.lm – however,

Read more »

Dealing with a Byte Order Mark (BOM)

March 11, 2015
By
Dealing with a Byte Order Mark (BOM)

I have just been trying to import some data into R. The data were exported from a SQL Server client in tab-separated value (TSV) format. However, reading the data into R the "usual" way produced unexpected results: Those weird characters in the first record... where did they come from? They don't show up in a The post

Read more »

How to Make a Histogram with Basic R

March 10, 2015
By
How to Make a Histogram with Basic R

Over the next week we will cover the basics of how to create your own histograms in R. Three options will be explored: basic R commands, ggplot2 and ggvis. These posts are aimed at beginning and intermediate R users who need an accessible and easy-to-understand resource. Want to learn more? Discover the R tutorials at DataCamp. What Is The post

Read more »

NYC Motor Vehicle Collisions – Street-Level Heat Map

March 10, 2015
By
NYC Motor Vehicle Collisions – Street-Level Heat Map

In this post I will extend a previous analysis creating a borough-level heat map of NYC motor vehicle collisions. The data is from NYC Open Data. In particular, I will go from borough-level to street-level collisions. The processing of the code is very similar to the previous analysis, with a few more functions that map streets to colors. … Continue reading...

Read more »

Thoughts on R’s Terrible, Horrible, No Good, Very Bad Documentation

March 10, 2015
By
Thoughts on R’s Terrible, Horrible, No Good, Very Bad Documentation

A couple of days ago Pete Werner had a rant about the state of R’s documentation. A lot of it was misguided, but it had some legitimate complaints, and the fact that people can perceive R’s documentation as being bad (whether accurate or not) is important in itself. The exponential growth in R’s popularity means

Read more »