Apply functions over file array margins (extended)
apply(X, MARGIN, FUN, ..., simplify = TRUE)# S4 method for FileArray
apply(X, MARGIN, FUN, ..., simplify = TRUE)
# S4 method for FileArrayProxy
apply(X, MARGIN, FUN, ..., simplify = TRUE)
See Section 'Value' in apply
;
a file array
scalar giving the subscripts which the function will be applied over. Current implementation only allows margin size to be one
the function to be applied
optional arguments to FUN
a logical indicating whether results should be simplified if possible