plot.ticm: Plot Estimated Independent Components from a 'ticm' Object

View source: R/plot.ticm.R

plot.ticmR Documentation

Plot Estimated Independent Components from a ticm Object

Description

Produces a scatterplot matrix of the estimated independent components stored in a ticm object, typically returned by icm_test.

Usage

## S3 method for class 'ticm'
plot(x, ...)

Arguments

x

An object of class ticm, typically resulting from a call to icm_test.

...

Additional graphical parameters passed to pairs to customize the scatterplot matrix (e.g., pch, cex, gap, labels).

Details

The function extracts the matrix of estimated independent components from x (as obtained from the ICA step within icm_test) and displays a scatterplot matrix using pairs. This visualization is useful for a quick diagnostic of remaining dependence: under a well-fitting independent component model, pairwise plots of the estimated components should show little visible structure.

The argument ... is forwarded to pairs, allowing customization of points, labels, and panel functions (e.g., adding smoothers or correlations via panel = or upper.panel = ).

Value

No return value, called for side effects.

See Also

icm_test, pairs

Examples

n <- 200
X <- cbind(runif(n), rexp(n), rnorm(n))

# in practice, the number of resamples should be much larger
res <- icm_test(X)
plot(res)

TICM documentation built on Feb. 12, 2026, 1:07 a.m.