Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

DirectSum

DirectSum


Description

Returns the direct sum of two matrices.

Usage

DirectSum(...)

Arguments

...

List of one or more matrices

Details

Standard mathematical direct sum operator.

Value

matrix

Author(s)

W. P. Bergsma w.p.bergsma@lse.ac.uk

References

Bergsma, W. P. (1997). Marginal models for categorical data. Tilburg, The Netherlands: Tilburg University Press. http://stats.lse.ac.uk/bergsma/pdf/bergsma_phdthesis.pdf

Bergsma, W. P., Croon, M. A., & Hagenaars, J. A. P. (2009). Marginal models for dependent, clustered, and longitudunal categorical data. Berlin: Springer.

See Also

Examples

a <- matrix(1:12,3,4)
 DirectSum(a)     #returns a
 DirectSum(a,a)   #returns direct sum of a and a
 DirectSum(a,a,a) #returns direct sum of a, a and a

cmm

Categorical Marginal Models

v0.12
GPL (>= 2)
Authors
W. P. Bergsma [aut], L. A. van der Ark [aut, cre]
Initial release
2018-03-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.