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

Running OpenCPU server on Fedora and Enterprise Linux

August 14, 2014
By
Running OpenCPU server on Fedora and Enterprise Linux

Starting version 1.4.4, the OpenCPU cloud server can run on Redhat distributions, i.e. Fedora and Enterprise Linux (CentOS/RHEL). This post explains how to install and use OpenCPU on these systems. But before continuing I should emphasize that ...

Read more »

Example 2014.9: Rolling averages. Also: Second Edition is shipping!

August 11, 2014
By
Example 2014.9: Rolling averages.  Also: Second Edition is shipping!

As of today, the second edition of "SAS and R: Data Management, Statistical Analysis, and Graphics" is shipping from CRC Press, Amazon, and other booksellers. There are lots of additional examples from this blog, new organization, and other features ...

Read more »

ABC model choice by random forests [guest post]

August 10, 2014
By
ABC model choice by random forests [guest post]

This paper proposes a new approach to likelihood-free model choice based on random forest classifiers. These are fit to

Read more »

Incidental R

August 7, 2014
By
Incidental R

by Joseph Rickert Last week, I posted a list of sessions at the Joint Statistical Meetings related to R. As it turned out, that list was only the tip of the iceberg. In some areas of statistics, such as graphics, simulation and computational statistics the use of R is so prevalent that people working in the field often don't...

Read more »

Simpler R coding with pipes > the present and future of the magrittr package

August 5, 2014
By
Simpler R coding with pipes > the present and future of the magrittr package

This is a guest post by Stefan Milton, the author of the magrittr package which introduces the %>% operator to R programming. Preface (by Tal Galili) I was first introduced to the %>% (a.k.a: pipe) operator in R, thanks to Hadley Wickham’s (fascinating) dplyr tutorial (link to the workshop’s material) at useR!2014. After several discussions during the conference (including one very

Read more »

GRAN and switchr can’t send you back in time, but they can send R (sort of)

August 5, 2014
By
GRAN and switchr can’t send you back in time, but they can send R (sort of)

Using package repositories to recreate the past, distribute the present, and protect against the future by Gabriel Becker (@groundwalkergmb) Bioinformatics and Computational Biology Genentech Research and Early Developmen 1. Have you ever needed to reach into the distant past … to recreate a years old result? Take - as an arbitrary example - Anders and Huber's paper on Differential...

Read more »

Guns are Cool – Differences between states

August 3, 2014
By
Guns are Cool – Differences between states

Last week my blog showed that there are differences between states in the shootingtracker database. This week it is attempted to understand why states are different. A number of variables were extracted from a few sources, among which gun laws, % ...

Read more »

Variable Selection in Market Segmentation: Clustering or Biclustering?

July 29, 2014
By
Variable Selection in Market Segmentation: Clustering or Biclustering?

Will you have that segmentation with one or two modes?The data matrix for market segmentation comes to us with two modes, the rows are consumers and the columns are variables. Clustering uses all the columns to transform the two-mode data matrix (row a...

Read more »

Fast-track publishing using the new R markdown – a tutorial and a quick look behind the scenes

July 29, 2014
By
Fast-track publishing using the new R markdown – a tutorial and a quick look behind the scenes

The new R Markdown (rmarkdown-package) introduced in Rstudio 0.98.978 provides some neat features by combining the awesome knitr-package and the pandoc-system. The system allows for some neat simplifications of the fast-track-publishing (ftp) idea using so called formats. I've created a new package, the Grmd-package, with an extension to the html_document format, called the docx_document. The formatter allows an almost...

Read more »

User Request – Shepards Classification of Sediments

July 25, 2014
By
User Request – Shepards Classification of Sediments

I received a request overnight on how to render the Shepard’s classification diagram, which is an alternative to the USDA’s textural soil classification. This is quite simple to produce (albeit a little tedious), however, before I walk through the script, immediately below, please see the final result (which you can compare to an original). The The post

Read more »