Explanation:rev provides a reversed version of its argument. 2. 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:A
Explanation:rev provides a reversed version of its argument. 2. 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, …)
Explanation:False value leads to unexpected result.