Categories
data science

Make Dot file from nCol Data Frame – R

The output file will create something like this

Categories
data science

Connecting to data base using RMySQL package – R

Categories
data science

get.dates for linear graph – R

Categories
Uncategorized

Log Graph Function – R

Categories
Uncategorized

Percentages and Ratios Function – R

Categories
Uncategorized

Stacked Bar graph and line graph – R

Main data is stored in df, which will be the data for the bar graph, and returns then enter GINI coefficients draw both bar and line graph we then get the x coordinates for the line graph and finally, we draw the line with bgrp as the x coordinates, and gco as the y coordinates

Categories
Uncategorized

Calculating Freeman’s Group Degree Centrality Function – R

This function takes an nCol file and returns L.C. Freeman’s Group Degree Centrality: Degree centrality (CD) can be calculated as follows: For the following graph we can count the number of connections (edges) each node has (its degree), The maximum degree is 3 for n1. Therefore we subtract the other node degrees from this Then […]

Categories
Uncategorized

draw.quick.graph – R

Categories
Uncategorized

Color Nodes – R

Categories
Uncategorized

Dated posts for a SN – R