Question: Recall that in week 6 we had a prac looking at Emma Wilkie's data on native vs invasive oysters. She measured the number of different

Recall that in week 6 we had a prac looking at Emma Wilkie's data on native vs invasive oysters. She measured the number of different types of organisms on native, invasive and control tiles at high and low shore. We used factorial ANOVA to test whether the total number of organisms differed between the different treatments. Now let's use PCA to visualise how the community composition differed between the different treatments. Run the code below to import the data into a dataframe called oysters.
library(curl)
u <-'https://docs.google.com/spreadsheets/d/1Auccj72-wEnH0QgPK_KCt0HKn6H1D3vcBaV4ehjRCac/pub?gid=0&single=true&output=csv'
curl_download(u,'oysters.csv')
oysters <- read.csv('oysters.csv')
Question 1
Not yet saved
Marked out of 1.00
Flag question
Question text
Carry out a Principal Components Analysis on the taxonomic counts (columns 4 to 7) by submitting the command
prcomp(oysters[4:7],scale=TRUE)
How many principal components are there?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!