Dear R-list
I have a dataset like below (points), how can I produce a max value for
each column. I need a result like (I hope my eye correct):
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12]
[1,] 211 10 99 14 19695 8 5 7
This is a
apply(points, 2, max)
Should do the job.
For details look at ?apply
Best,
Matthias
Dear R-list
I have a dataset like below (points), how can I produce a max
value for
each column. I need a result like (I hope my eye correct):
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9]
Acchhh very easy, time to drink a cup of coffe, but
Thank you for your all.
apply(points, 2, max)
Best regards, Muhammad Subianto
On this day 17/10/2005 02:34 PM, Muhammad Subianto wrote:
Dear R-list
I have a dataset like below (points), how can I produce a max value for
each