How to apply the same function to all rows and columns in a matrix in R programming?
Answers
Answered by
0
Answer:
In R, you can use the apply() function to apply a function over every row or column of a matrix or data frame.
Similar questions
Science,
2 months ago
Hindi,
2 months ago
Chemistry,
2 months ago
Computer Science,
5 months ago
English,
5 months ago
Computer Science,
11 months ago
Social Sciences,
11 months ago
Math,
11 months ago