is.Xlist {rags2ridges} | R Documentation |
Test if fused list-formats are correctly used
Description
Function to check if the argument submits to the various list
-formats
used by the fused ridge estimator and related functions are correct. That
is, it tests if generic fused list arguments (such as Slist
,
Tlist
, Plist
, Ylist
) are properly formatted.
Usage
is.Xlist(Xlist, Ylist = FALSE, semi = FALSE)
Arguments
Xlist |
A |
Ylist |
|
semi |
|
Value
Returns TRUE
if all tests are passed, throws error if not.
Author(s)
Anders Bilgrau, Carel F.W. Peeters <carel.peeters@wur.nl>, Wessel N. van Wieringen
References
Bilgrau, A.E., Peeters, C.F.W., Eriksen, P.S., Boegsted, M., and van Wieringen, W.N. (2020). Targeted Fused Ridge Estimation of Inverse Covariance Matrices from Multiple High-Dimensional Data Classes. Journal of Machine Learning Research, 21(26): 1-52.
van Wieringen, W.N. & Peeters, C.F.W. (2016). Ridge Estimation of Inverse Covariance Matrices from High-Dimensional Data, Computational Statistics & Data Analysis, vol. 103: 284-303. Also available as arXiv:1403.0904v3 [stat.ME].
See Also
ridgeP.fused
, optPenalty.fused
Examples
Slist <- createS(n = c(4, 6, 9), p = 10)
is.Xlist(Slist, semi = TRUE)