Tag Archives: code

Random walks in R

For some reason I thought it would be an interesting exercise in my programming skills to try and write code to generate random walks in a two-dimensional plane. Turns out this was not super hard, so I wound up having … Continue reading

Posted in Coding, Research | Tagged , , , | 4 Comments

New section on the blog

Due to the popularity of my posts about the basics of networks using R and the igraph package (and some others), I decided it may be a good idea to post them all in one location (as their own page). … Continue reading

Posted in Other | Tagged , , , | Leave a comment

Network basics with R and igraph (part III of III)

In this third and final post in this little series of mine I want to bring it all together with my favorite kind of network, food webs. Thus I will be using a real food web to go over all … Continue reading

Posted in Rbasics | Tagged , , , , , | 2 Comments

Network basics with R and igraph (part II of III)

The first part of this little series of posts went over a some basic network modeling and plotting tools. In this part I want to go over how to get some of the simple properties of these networks using two … Continue reading

Posted in Rbasics | Tagged , , , , , | 15 Comments

Network basics with R and igraph (part I of III)

In this post I am going to go over some of the basics that I have learned about networks in R by using the igraph package. I originally intended to have this as a reference for myself, but decided to … Continue reading

Posted in Rbasics | Tagged , , , , | 8 Comments

More food web plotting with R

Food web for Otago Harbor, NZ: One of the many things I have been trying to figure out is how to plot food webs in a manner that makes sense, using the igraph package in R, see here. I finally … Continue reading

Posted in Research | Tagged , , | 2 Comments

Moving on up… to three species

At this point I have been able to simulate two species predator-prey dynamics with and without density dependence. The next logical step is then to add another species, so that’s what I did. A quick note… The equations for the … Continue reading

Posted in Research | Tagged , , , , , | Leave a comment