Q. 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, ...)
πŸ’¬ Discuss
βœ… Correct Answer: (C) rowMeans(x, na.rm = FALSE, dims = 1)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
118
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate