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.

I am mainly unsure how to compose a function that will call

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

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 Mathematics Questions!