eelbrain.testnd.ANOVA.cluster

ANOVA.cluster(cluster_id, effect=0)

Retrieve a specific cluster as NDVar

Parameters:
  • cluster_id (int) – Cluster id.

  • effect (int | str) – Index or name of the effect from which to retrieve a cluster (default is the first effect).

Returns:

cluster – NDVar of the cluster, 0 outside the cluster.

Return type:

NDVar

Notes

Clusters only have stable ids for thresholded cluster distributions.