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
Get step-by-step solutions from verified subject matter experts
