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
English,
3 months ago
Math,
3 months ago
Math,
3 months ago
Computer Science,
6 months ago
English,
6 months ago
Computer Science,
1 year ago
Social Sciences,
1 year ago
Math,
1 year ago