MixfMRI (version 0.1-3)

Print Objects: Print fclust related outputs

Description

Print flcust related outputs.

Usage

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

Value

A summary of fclust object is printed.

Arguments

x

an object with the class attributes.

...

other arguments to the print function.

Author

Wei-Chen Chen and Ranjan Maitra.

Details

x is the return result from fclust().

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

Run this code
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)

Run the code above in your browser using DataLab