How to sum the values in each slot

I am trying to add the valued in each slot to end up with a vector of 100 values, without using any packages and just regular R studio.

I would use

Sums <- sapply(X, sum)

This topic was automatically closed 7 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.