Skip to contents

Principal Components Analysis UI

Usage

pca_ui(id, center = TRUE, scale = TRUE, help = NULL)

Arguments

id

A character vector to be used for the namespace.

center

A logical scalar: should the variables be shifted to be zero centered?

scale

A logical scalar: should the variables be scaled to unit variance?

help

A character string giving a short help text.

Value

A nav item that may be passed to a nav container (e.g. bslib::navset_tab()).

See also

pca_server()

Other multivariate analysis modules: ca_server(), ca_ui(), multivariate_server(), multivariate_ui(), pca_server()