Defines functions displayGraph

Documented in displayGraph

# Copyright (C) 2011 Pierrick Bruneau, see README for full notice

displayGraph <- function(measure, dev, vect, xlab="K", ylab="measure", main=" ") {
	# displays the provided measures with variability in shaded style
	ylim <- c(min(measure -dev), max(measure+dev))
	plot(vect, measure,ylim=ylim,type="n", xlab=xlab, ylab=ylab, main=main)
	polygon( c(vect,rev(vect)),
		 col = "gray90",
	lines( vect , measure - dev , lty=2)
	lines( vect, measure+dev , lty=2)
	lines( vect, measure , lwd=2 , col="black")

Try the VBmix package in your browser

Any scripts or data that you put into this service are public.

VBmix documentation built on May 30, 2017, 2:34 a.m.