calcNetworkBLMetricsPCA: NETWORK METRICS PCA FUNCTION

View source: R/networkProperties.R

calcNetworkBLMetricsPCAR Documentation

NETWORK METRICS PCA FUNCTION

Description

Calculates a PCA on a matrix of network metrics usinade4::dudi.pca. The function automatically excludes covariates with >0.9 correlation

Usage

calcNetworkBLMetricsPCA(metricsDT, PLOT = FALSE, dim)

Arguments

metricsDT

is a data.table of metrics (columns) calculated for each network (rows)

PLOT

logical. controls whether a PCA biplot is produced.

dim

is used for faster caching and should be dim(metricsDT)


CeresBarros/ToolsCB documentation built on Aug. 23, 2024, 4:22 p.m.