vignettes/example.R

# This is our external R script called example.R
# We're adding two chunks variablesXY and plotXY

## @knitr variablesXY

x<-1:100
y<-x+rnorm(100)
head(data.frame(x,y))

## @knitr plotXY

plot(x,y)
jedick/canprot documentation built on April 2, 2024, 10:29 p.m.