1.

Which of the following finds row sums for each level of a grouping variable?

A. rowSums (x, na.rm = FALSE, dims = 1)
B. colMeans(x, na.rm = FALSE, dims = 1)
C. rowMeans(x, na.rm = FALSE, dims = 1)
D. rowsum(x, group, reorder = TRUE, )
Answer» D. rowsum(x, group, reorder = TRUE, )


Discussion

No Comment Found