# Tag Archives: r

## Plotting time graphs in R

Share    Send article as PDF

Share

## R - frequency histogram with normal curve

Creating a histogram in R is a piece of cake. But often times, you'll want to take a look at the gaussian distribution that your data may represent. It's easy enough to look at the frequency histogram separately from the gaussian, but what if we want to overlay the gaussian on top of the histogram?… Read More »

Share

## R - color scatterplot points by density

Motivation If you've ever had lots of data to examine via a scatterplot, you may find it difficult due to overlapping points. For example, let's examine the following attempt to look at some (x,y) data. Impossible to understand, right? Solution Here's a much better solution. We will now color the points by their density. And… Read More »

Share

## R - Creating a heatmap from scatterplot data

Here's the code and the image it produces. (Full explanation of each line is below) For those that want the full tutorial, read from here: Suppose you have some (x,y,z) data and wish to plot it. Perhaps you have weather data for a grid layout of a city. Whatever the data may be, it's common… Read More »

Share

## How to make flames in R

Making flames in R may come in handy. Maybe you're bored or perhaps you want to make a beautiful histogram? Who knows? Nonetheless, it's a short piece of code and it makes beautiful images: It's actually quite simple to make. You may start out with a normal distribution. But to add complex color spectrums, you'll… Read More »

Share

## Position of the max value in a R matrix

How can one find the position of the max value in a matrix in R? Finding the maximum value of a matrix isn't as straight forward as you may think. We can construct a matrix and find the max value: But we need to get the position of that max value, 11. To do so,… Read More »

Share

## Best R software to use?

It's often a common question: What's the best way to program R? What's the best R software to use? What are the top-most QA companies that work on R programming? Many programming languages have their full list of wonderful IDEs, but when it comes to R, that list is somewhat short. So, what's the best? My… Read More »

Share