Categories
data science

Plotting an equation – R

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 […]

Categories
data science

Modifying the Android Operating System.

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 […]

Categories
data science

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 […]

Categories
Uncategorized

Setting Node Attributes in Igraph – Python

Creating a simple graph python terminal It should look something like this. Set the coordinates The coordinates can be set using lists. Change Node Size and Colour The final product should be this

Categories
data science

Smooth line for barplot graph – R

The bar plot Start with a dataframe with the values already sorted, then place each into a vector. The three back into a dataframe The Bar Plot Place the bartop into a variable to use later The graph should look something like this A Ragged Line Take the Gini coef column from the original dataframe… […]