How do I code a summation?

image
Each Yij is a different column name with digits in each column. There are a total of four columns.

Making up some data for the numerator and denominator

num <- matrix(1,nrow = 10,ncol = 8)
denom <- matrix(1,nrow = 10,ncol = 8)

then

colSums(num/denom)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.