Posts by Felipe solares • 21 points
1 post
-
2
votes2
answers673
viewsA: How to sum a column in R
Using colSums() or rowSums() in this case would not work, because according to the function documentation, objects must have two or more dimensions... So, when you try to pass the column array…