Question: I am studying R code. I don't understand the following question. Consider the vector c(23,14,12,28,2,1,21,12,11,27,7,22,24,4,10,19,28,0,8,5,11,16,30,15,30,30,3,22,15,15,11). Find the sum of values whose indices are divisible by

I am studying R code. I don't understand the following question.

Consider the vector c(23,14,12,28,2,1,21,12,11,27,7,22,24,4,10,19,28,0,8,5,11,16,30,15,30,30,3,22,15,15,11).

Find the sum of values whose indices are divisible by 5.

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!