Kcluster_PVs: A function to identify the Principal Variable of a group

View source: R/Kcluster_PVs.R

Kcluster_PVsR Documentation

A function to identify the Principal Variable of a group

Description

A function to identify the Principal Variable of a group. The final step in the iPVs pipeling to identify the final PV to stand as the tagging and independent variable for the cluster of variables.

Usage

Kcluster_PVs(cmat, Kmembers, myPVs)

Arguments

cmat

a correlation matrix you can pass to the function, which will skip the generation of a new matrix.

Kmembers

a list, where each object in the list is a vector of variable IDs, identifying the members of a cluster or group.

myPVs

a vector of my Principal Variable (myPVs) for each cluster

Examples

Kcluster_PVs()

hughesevoanth/iPVs documentation built on July 26, 2023, 3:21 p.m.