May 27, 2019 in Data Handling
Q: What will the following lines of code return

x <- matrix(1:18, 6, 3)

apply(x, 2, sum)

1 Answer

0 votes
May 27, 2019
vector of 3 elements

Related questions

+1 vote
May 27, 2019 in Other
0 votes
Jun 7, 2019 in Data Handling using R
...