Sunday, October 23, 2011

Corrections in Roff (2010) Modeling Evolution: An Introduction to Numerical Methods


I just started working through Dr. Derek Roff's newest book, Modeling Evolution. Overall the book is great, but my printing has a lot of typos and (as of page 49) some missing lines of code.

There is updated code on his webpage on the bottom in a Word file. Everything I've cross-checked appears to be good in the version posted on the site.

Tonight I was working on plotting a 3D surface with code from page 49 of chapter 1. The plot, shown above, is cool, but I could not figure out what was missing from the code in the book. I eventually was able to reproduce the graph in the book (Figure 1.9, page 50) using code that is similar to that posted on his website.

The correction occurs on page 49. In the middle of the page the text should read:

"Same lines as previously except for deletion of plotting codes

mean(Npop.Sizes[900:1000])

} # End of function MAIN.PROG"


The "mean(Npop.Sizes[900:1000])" Is missing from the book.

No comments:

Post a Comment