Computes the PCA weights for a single country
Source:R/pca_weights_one_country.R
pca_weights_one_country.Rd
Computes the PCA weights for a single country
Value
A matrix (J x J) that corresponds to the eigenvectors of the variance-covariance matrix of yields
Examples
data(CM_Yields)
Economy <- "Mexico"
pca_weights <- pca_weights_one_country(Yields, Economy)