R/plot.pvr.r

Defines functions plot.pvr

Documented in plot.pvr

#' @rdname PVR
#' @encoding UTF-8
#' @export
plot.pvr<-function(x, trait = 1, ...){
	graphics::plot(x$PSR.curve.axis.x, x$PSR.curve.axis.y[trait,], ylim = c(0, 1), xlim = c(0, 1), xlab = "Cumulative eigenvalues", ylab = "R2", ...)
	graphics::abline(0,1)	
}
vanderleidebastiani/daee documentation built on Jan. 22, 2021, 2:41 p.m.