PriceLab / STP

Code and commentary from The Self-Taught Programmer, Althoff 2016: python + R
Apache License 2.0
1 stars 0 forks source link

plot graph based on function of x #20

Open aishahmohamed98 opened 6 years ago

aishahmohamed98 commented 6 years ago

@paul-shannon i've uploaded what i've written for an igraph function that will create a graph based on the input of the function (numerical). The file is called function-igraph.R in graph/iGraph-Aishah. Please take a look and tell me what you think

aishahmohamed98 commented 6 years ago

@paul-shannon Paul, i've also uploaded a file "function-iGraph-withTest.R" in graphs/iGraph-Aishah which is code written for a graph built in igraph with the number of nodes being the number passed through the function along with a test to make sure the input is a numerical value. Please take a look at it and let me know if this is what you wanted me to produce.