map-methods: Apply a function to an object.

mapfR Documentation

Apply a function to an object.

Description

This function applies a function to an object, with additional arguments passed to the function using the ... argument. The mapping object specifies how the function is to be applied, and can take many different forms, depending on the object and function used. The return value depends on the function used.

Usage

mapf(x, m, ...)

## S4 method for signature 'NeuroVol,Kernel'
mapf(x, m, mask = NULL)

Arguments

x

the object that is mapped.

m

the mapping object.

...

additional arguments to be passed to the function.

mask

restrict application of kernel to masked area


bbuchsbaum/neuroim2 documentation built on Jan. 25, 2024, 9:59 p.m.