Question: I am mainly unsure how to compose a function that will call prcomp in R such that this function can then be called by the
I am mainly unsure how to compose a function that will call prcomp in R such that this function can then be called by the boot() package (for part one). The data set USArrests is irrelevant in this case; I simply wish to know the general form in R.

1. Using the USArrests dataset, plot a histogram of the proportion of variance explained by the rst 2 principal components in 1000 Bootstrap resamplings of the data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
