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

Using TeXmacs as an interface for R (part 1)

December 3, 2012
By
Using TeXmacs as an interface for R (part 1)

A nice, but not very well known, interface to R is TeXmacs. (I have to say that I am not totally objective, since I wrote the interface between R and TeXmacs…) Here’s a sample window: In the following few posts I’d like to explain how to use this interface. Installation First, install TeXmacs. Best is

Read more »

bigglm on your big data set in open source R, it just works – similar as in SAS

bigglm on your big data set in open source R, it just works – similar as in SAS

In a recent post by Revolution Analytics (link & link) in which Revolution was benchmarking their closed source generalized linear model approach with SAS, Hadoop and open source R, they seemed to be pointing out that there is no 'easy' R open source solution which exists for building a poisson regression model on large datasets.    This post is about...

Read more »

Controlling heatmap colors with ggplot2

November 22, 2012
By
Controlling heatmap colors with ggplot2

One of the most popular posts on this blog is the very first one, solving the issue of mapping certain ranges of values to particular colors in heatmaps. Given the abundance of ggplot2 usage in R plotting, I thought I’d … Continue reading →

Read more »

Creating an R package in Windows

November 21, 2012
By
Creating an R package in Windows

A nice package can be both beautiful and functional. The image is CC by MIAD Communication Design. Inspired by Read more »

How to choose your next holidays destination – Uniform distribution on a sphere

November 14, 2012
By
How to choose your next holidays destination – Uniform distribution on a sphere

If you want to choose randomly your next holidays destination, you are likely to process in a way which is certainly biased. Especially if you choose randomly the latitude and the longitude. A bit like they do in this lovely advertising (For those of y...

Read more »

Temporal networks with igraph and R (with 20 lines of code!)

November 10, 2012
By

In my last post about how a twitter conversation unfolds in time on Twitter, the dynamical nature of information diffusion in twitter was illustrated with a video of the temporal network of interactions (RTs) between accounts. The temporal evolution of … Continue reading →   Related posts: Temporal network of information diffusion...

Read more »

Consuming R from SAP Mobile Platform

November 9, 2012
By
Consuming R from SAP Mobile Platform

Early this year, in March, I was visiting my team mates in SAP Labs Palo Alto, and my good friend a team mate Rui Nogueira asked to participate in his most excellent Technology Innovation Podcast show where we spoke about R and SAP HANA. By the end of ...

Read more »

Terrain effects on SUHI estimates

November 9, 2012
By
Terrain effects on SUHI estimates

Introduction Zhang and Imhoff (2010)  pdf here utilized NLCD impervious surface area (ISA), Olson biomes, and MODIS Land Surface temperature (LST) to estimate the magnitude of UHI in large cities across the US.  Peng  employed a   similar approach in studying 419 large cities ( population greater than 1m ) around world. Peng’s work suggests a limit or

Read more »

Data types part 2: Using classes to your advantage

November 8, 2012
By
Data types part 2: Using classes to your advantage

Last week I talked about objects including scalars, vectors, matrices, dataframes, and lists.  This post will show you how to use the objects (and their corresponding classes) you create in R to your advantage.First off, it's important to remember...

Read more »

The [95%] Confidence of Nate Silver

November 7, 2012
By
The [95%] Confidence of Nate Silver

The headlines have been buzzing with the “triumph” of statistics and math in this election.  But before I jump into how well statistics served us, let’s do a little primer on the margin of error. Whenever we measure less than the whole population we’ll have some variability in the sample.  Chances are good that the

Read more »