Summary
Keywords
Full Transcript
Doing MDS (multi-dimensional scaling) and PCoA (principal coordinate analysis) is pretty easy with the cmdscale() option. However, there are some tricks to it and I show you how to create a distance matrix using a non-standard distance metric. If you want the code that I used in this video, you can get it from the StatQuest GitHub: https://github.com/StatQuest/mds_and_pcoa_demo/blob/master/mds_and_pcoa_demo.R For a complete index of all the StatQuest videos, check out: https://statquest.org/video-index/ If you'd like to support StatQuest, please consider... Patreon: https://www.patreon.com/statquest ...or... YouTube Membership: https://www.youtube.com/channel/UCtYLUTtgS3k1Fg4y5tAhLbw/join ...buying one of my books, a study guide, a t-shirt or hoodie, or a song from the StatQuest store... https://statquest.org/statquest-store/ ...or just donating to StatQuest! https://www.paypal.me/statquest Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter: https://twitter.com/joshuastarmer #statquest #MDS #PCoA
