pca_scree: Classic Screeplot

Description Usage Arguments Value

Description

This function constructs a screeplot based on either the eigenvalues, percentage of variance or the cummulative percentage of variance. this can be done by adjusting the type variable.

Usage

1
pca_scree(model, type = "cpov")

Arguments

model

The PCA model from FactoMineR.

type

The type of model. This can be one of three: "eig" (eigenvalues), "pov" (proportion of variance) or "cpov" (cummulative proportion of variance). Defaults to "cpov".

Value

data

Data used in the plot.

plot

The ggplot object.


Dynge/r_dynge documentation built on July 1, 2019, 11:21 p.m.