Learn R Programming

vows (version 0.3.1)

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(fdobj, arr4d, ...)

Arguments

fdobj
a functional data object, of class "fd", defining the set of curves being clustered.
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.
...
other arguments, passed to funkmeans.

Value

  • 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.

See Also

funkmeans, funkpanel

Examples

Run this code
# See example for funkpanel

Run the code above in your browser using DataLab