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

  • (A) as.numeric(x)
  • (B) rowsum(x, group, reorder = TRUE, ...)
  • (C) as.order(x)
  • (D) colSums (x, na.rm = FALSE, dims = 1)
πŸ’¬ Discuss
βœ… Correct Answer: (B) rowsum(x, group, reorder = TRUE, ...)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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