Description Usage Arguments Value Examples
View source: R/AnalysisFunctions.R
given a list of arrays (could be matrices), all of the same dimension, and a function, returns an array of the same dimensions as the objects of the list, for which each element is the application of the function to the vector of cells in a position across all arrays in the list.
1 | elementWise(arrayList, fnc = mean)
|
arrayList |
The list of arrays to which the function will be applied |
fnc |
The function that can be applied to a vector |
Array of the function values
1 | cellMeans <- elementWise(lapply(replicRecords, mean_records))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.