Clears the internal cache used for storing H0 covariance matrices. This can be useful to free memory or force recomputation.

clear_glow_cache()

Value

Invisible NULL

Details

The GLOWr package caches H0 (null hypothesis) covariance matrices to improve performance when Optimal_Weights_M() is called multiple times with the same correlation structure. This function clears that cache.

Caching can be controlled via options(GLOWr.use_cache = TRUE/FALSE). The default is TRUE (caching enabled).

Examples

# Clear the cache
clear_glow_cache()

# Disable caching entirely
options(GLOWr.use_cache = FALSE)