d2_print: Print fclust related outputs

Print ObjectsR Documentation

Print fclust related outputs

Description

Print flcust related outputs.

Usage

  ## S3 method for class 'fclust'
print(x, ...)

Arguments

x

an object with the class attributes.

...

other arguments to the print function.

Details

x is the return result from fclust().

Value

A summary of fclust object is printed.

Author(s)

Wei-Chen Chen and Ranjan Maitra.

References

Chen, W.-C. and Maitra, R. (2021) “A Practical Model-based Segmentation Approach for Accurate Activation Detection in Single-Subject functional Magnetic Resonance Imaging Studies”, arXiv:2102.03639.

See Also

set.global(), fclust().

Examples

library(MixfMRI, quietly = TRUE)
set.seed(1234)

### Check 2d data.
da <- pval.2d.complex
id <- !is.na(da)
PV.gbd <- da[id]
# hist(PV.gbd, nclass = 100, main = "p-value")

### Test 2d data.
id.loc <- which(id, arr.ind = TRUE)
X.gbd <- t(t(id.loc) / dim(da))
ret <- fclust(X.gbd, PV.gbd, K = 2)
print(ret)

MixfMRI documentation built on Sept. 8, 2023, 5:06 p.m.