This is how you plot an equation in R. The equation we are going to plot is a simple one. y = x– 1 The first thing we do is set the value for x by creating a sequence from 0 to 1 at 0.01 intervals Now we can get the y values so if […]

# Tag: r

Here are a few stats about all Android ROM related posts submitted to the XDA developers forum since Jan 2010. It shows three of the most talked about Android modification projects: CyanogenMod, AOKP, and MIUI. Observations are as follows. CyanogenMod AOKP MIUI Forum Members 26,185 9,268 11,488 Posts 93,408 30,790 39,604 Forum Threads 2,221 697 […]

## Sorting Vectors – R

A very quick reminder to myself on how to take data from a data frame, place them into vectors, then sort them from highest to lowest. The Data Frame The data frame now looks like this Create Vector Get all the subs and create a vector for a bar plot. we should get something like […]

This R function will draw a graph and then colour the nodes according to centrality. There are three colours, red for high centrality, purple for medium centrality, and blue for low centrality. Node centrality was calculated using the betweenness( ) function in the igraph R library. It was then normalised manually so that we are […]

## Scatter Plot with Log Scale – R

Get a Frequency Count The user file looks like this First thing is to read the file Then we get the frequency count The frequency count should now return something like this Building the Scatter Plot We need to use Freq as the x coordinates and Var1 as the y coordinates. Now a simple scatter […]

You must be logged in to post a comment.