Learn R Programming

DOQTL (version 1.8.0)

colSumsLog: Sum columns of log transformed data.

Description

Given a matrix of log transformed values, sum the rows or columns on the untransformed scale.

Usage

colSumsLog(logmat)

Arguments

logmat
Numeric matrix of natural log transformed values.

Value

Numeric vector with values summed on an untransformed scale.

Details

See addLog.

See Also

addLog

Examples

Run this code
  colSumsLog(matrix(log(runif(100)), nrow = 10, ncol = 10))

Run the code above in your browser using DataLab