funkmeans4d: Functional k-means clustering for parallel smooths for 4-dimensional data
Description
This is a wrapper function for funkmeans to handle 3D image responses.
Usage
funkmeans4d(obj, arr4d, ...)
Arguments
obj
a massively parallel smoothing object, of class "semipar.mp".
arr4d
a 4-dimensional array containing the raw data that were smoothed at each point. The first 3 dimensions refer to x, y, and z coordinates and the last dimension corresponds to different images.
An object of class "funkmeans4d", which is also of class "funkmeans" but has the additional component arr.cluster: an array, of dimension dim(arr4d)[1:3], giving the cluster memberships.