R/plot.PVE.R

Defines functions plot.PVE

Documented in plot.PVE

plot.PVE <- function(x,xlab="Number of Features",ylab="PVE",...) {

    if (!inherits(x,"PVE")) {
        stop("'x' must be of class 'PVE'")
    }

    plot(x=x$J,y=x$PVEs,xlab=xlab,ylab=ylab,...)

}

Try the FLLat package in your browser

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

FLLat documentation built on May 2, 2019, 4:51 a.m.