Print Objects | R Documentation |
Print flcust related outputs.
## S3 method for class 'fclust'
print(x, ...)
x |
an object with the class attributes. |
... |
other arguments to the |
x
is the return result from fclust()
.
A summary of fclust
object is printed.
Wei-Chen Chen and Ranjan Maitra.
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.
set.global()
, fclust()
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.