pearselab / r-world-jenessalemon

r-world-jenessalemon created by GitHub Classroom
0 stars 0 forks source link

what is plants? #2

Open jenessalemon opened 7 years ago

jenessalemon commented 7 years ago

What an intelligent question for a grad student to be asking! ... But seriously, what is plants? I'm referring to line 56 in my code. This is the point where I define my plant.timestep function. I know that terrain is the terrain we created in the last module, and that info is the output of our setup.plants function. But what is plants? I was thinking that it is the terrain matrix after we have added plants, but that makes no sense, because it would not be a parameter of the function to create itself. I am trying to keep all of my variables straight but it's really hard. They are all over the place.

willpearse commented 7 years ago

The current distribution of plants. plant.timestep calculates the next iteration of plant distributions, so it needs the current distribution to do that.

On Thu, 10 Nov 2016 at 04:12 jenessalemon notifications@github.com wrote:

What an intelligent question for a grad student to be asking! ... But seriously, what is plants? I'm referring to line 56 in my code. This is the point where I define my plant.timestep function. I know that terrain is the terrain we created in the last module, and that info is the output of our setup.plants function. But what is plants? I was thinking that it is the terrain matrix after we have added plants, but that makes no sense, because it would not be a parameter of the function to create itself. I am trying to keep all of my variables straight but it's really hard. They are all over the place.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pearselab/r-world-jenessalemon/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLcUqCXfMytZn_kL39FSP0tkEQzhgcWks5q8pmZgaJpZM4KuQ0A .