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

gsicsum

Internal function: row and column sums of matrices


Description

Abbreviation for collapsing matrices

Usage

gsi.csum(x)
gsi.rsum(x)

Arguments

x

the matrix

Details

gsi.csum computes the sums of all the columns of x and gsi.rsum computes the sums of the rows of x. For convenience, only finite values are added.

Value

A numeric vector.

Note

Do not use gsi.* functions directly since they are internal functions of the package

Author(s)

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

See Also

Examples

#A <- matrix(c(0,1,0,0,0,0),ncol=2)
#b <- diag(3)
#erg <- gsi.svdsolve(A,b)
#erg
#A %*% erg 
#diag(c(0,1,0))  # richtig

compositions

Compositional Data Analysis

v2.0-1
GPL (>= 2)
Authors
K. Gerald van den Boogaart <boogaart@hzdr.de>, Raimon Tolosana-Delgado, Matevz Bren
Initial release
2021-01-08

We don't support your browser anymore

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