Skip to content

Instantly share code, notes, and snippets.

@srishtis
Created October 5, 2018 05:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srishtis/327d1c0e8070dabbaedc00a0b3552508 to your computer and use it in GitHub Desktop.
Save srishtis/327d1c0e8070dabbaedc00a0b3552508 to your computer and use it in GitHub Desktop.
This snippet helps you investigate the PCA rotation matrix
# obtain the rootation matrix
cars.PC.cor$rotation
# obtain the biplot
biplot(cars.PC.cor)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment