extract_pc.Rd
Extract principal component(s) from input
extract_pc(x, pc = "PC1")
A data frame or matrix.
A string or vector of PC names (e.g., "PC1").
A matrix or vector of selected components.