973 search results for "how to import image file to R"

Export Data Frames To Multi-worksheet Excel File

October 6, 2009
By
Export Data Frames To Multi-worksheet Excel File

A few weeks ago I needed to export a number of data frames to separate worksheets in an Excel file. Although one could output csv-files from R and then import them manually or with the help of VBA into Excel, I was after a more streamlined solution, as I would need to repeat this process

Read more »

How to Import MS Excel Data into R

September 26, 2009
By
How to Import MS Excel Data into R

s Sir Francis Bacon said, “Histories make men wise; poets witty; the mathematics subtile; natural philosophy deep; moral grave; logic and rhetoric able to contend.” And Windows stupid. He should have added the last sentence if he were a Windows user in this age. 1. Avoid Using M$ Excel A lot of R users often ask this question:

Read more »

The Price of Fuel: How Bad Could It Get?

April 1, 2015
By
The Price of Fuel: How Bad Could It Get?

The cost of fuel in South Africa (and I imagine pretty much everywhere else) is a contentious topic. It varies from month to month and, although it is clearly related to the price of crude oil and the exchange rate, various other forces play an influential role. According to the Department of Energy the majority The post

Read more »

Mapping Flows in R

March 30, 2015
By
Mapping Flows in R

Last year I published the above graphic, which then got

Read more »

Machine Learning in R for beginners

March 25, 2015
By
Machine Learning in R for beginners

Introducing: Machine Learning in R Machine learning is a branch in computer science that studies the design of algorithms that can learn. Typical machine learning tasks are concept learning, function learning or “predictive modeling”, clustering and finding predictive patterns. These tasks are learned through available data that were observed through experiences or instructions, for example. The post

Read more »

Release of psd 1.0 to CRAN

March 23, 2015
By
Release of psd 1.0 to CRAN

Greetings, Interweb! I’m pleased to announce psd 1.0, a long-overdue major update from the 0.* series which includes significant advancements in performance, improved clarity and consistency of documentation and method/class handling, and the elimination a few long-standing bugs. Some major changes include: … Continue reading →

Read more »

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 »

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 »