Casey Dunn  committed 6ce1e86

fixed example to run with most recent version of geiger

  • Participants
  • Parent commits 1417f2f

Comments (0)

Files changed (2)

File analyses/comparative_r/comparative_r.pdf

Binary file modified.

File analyses/comparative_r/knitr/comparative_r.Rnw

-  	dev="pdf",
-	fig.path="figures/",
-	prompt=FALSE,   
-	comment="#"    # turn off commenting of ouput (but perhaps we should not do this either
-	}
+rm(list = ls())
 This document introduces you to a variety of tools and approaches to analyzing 
-D <- sim.char( t, vcv, nsims = 100, model = "brownian", root.state = 0 )
+D <- sim.char( t, vcv, nsim = 100, model = "BM", root = 0 )
 To recreate this file from the data, you will need to install:
-  \item R (\url{}). This document was generated with 
-  version 2.15.2.
+  \item R (\url{}).
   \item The R package knitr (\url{}), which can be 
-  installed from within R. This document was generated with version 0.9.
+  installed from within R.
   \item pdflatex, which comes with LaTeX distributions 
-  (\url{}). This document was generated 
-  with version 3.1415926-2.4-1.40.13.
+  (\url{}).
 From within the knitr directory, launch R and run:
 the analyses in the .Rnw source file. You can also copy the R source code from 
 the .Rnw file.
+The following shows the versions of R software that were used to generate this