R/screeplot.symcoca.R

Defines functions `screeplot.symcoca`

`screeplot.symcoca` <- function(x, type = "b",
                                xlab = NULL, ylab = NULL, ...) {
    if (is.null(ylab)) {
        ylab <- "Eigenvalue"
    }
    if (is.null(xlab)) {
        xlab <- "Co-CA Axis"
    }
    evals <- eigenvals(x)
    xvals <- seq_along(evals)
    plot(xvals, evals, type = type, xlab = xlab, ylab = ylab, ...)
    invisible()
}

Try the cocorresp package in your browser

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

cocorresp documentation built on May 7, 2021, 9:06 a.m.