bic.average.by.name: Average all values in a matrix that have the same 'name'

Description Usage Arguments Value

Description

Given a two-column matrix where the first column may contain duplicate values ('names'), for every one of those duplicate values find the average of the corresponding numbers in the second column

Usage

1

Arguments

dat

a matrix where the first column may contain duplicate values (strings or numbers) and the second through Nth columns contain only numbers

Value

a matrix containing averages of values whose names were the the same in the original matrix, plus the original values in the second through Nth columns of the input matrix whose 'names' were unique


bic-mskcc/bicrnaseq documentation built on May 24, 2019, 3:04 a.m.