Difference between revisions of "HowTo/UsingVignettes"

From Comparative Phylogenetics in R
Jump to: navigation, search
 
Line 1: Line 1:
UNDER COSTRUCTION
+
<h2>UNDER CONSTRUCTION!</h2>
  
 
Vignettes are package tutorials that contain both narrative descriptions for how to perform an analysis as well as working code snippets.
 
Vignettes are package tutorials that contain both narrative descriptions for how to perform an analysis as well as working code snippets.

Revision as of 12:53, 14 December 2007

UNDER CONSTRUCTION!

Vignettes are package tutorials that contain both narrative descriptions for how to perform an analysis as well as working code snippets.

To list available vignettes, type

> vignette()

To see a specific vignette, type, for example,

> vignette("grid")

You can extract the R code from a vignette by typing

> vigSrc = list.files(pattern="Rnw$",
                   system.file("doc",package="GOstats"),
                   full.names=TRUE)
> vigSrc
> for (v in vigSrc) Stangle(v)