Skip to content
Prev 188798 / 398498 Next

apply function to named numeric object

On Aug 3, 2009, at 9:07 AM, Paulo Eduardo Cardoso wrote:

            
apply(object, 2, mean)

or...

colMeans(object)  # which will be faster
David Winsemius, MD
Heritage Laboratories
West Hartford, CT