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

gsiadd

Internal functions: Parallel operations of single and multiple datasets


Description

The given operations are performed in parallel for multiple datasets or for two single datasets, or for multiple datasets with a single dataset.

Usage

gsi.add(x,y)
gsi.sub(x,y)
gsi.mul(x,y)
gsi.div(x,y)

Arguments

x

a vector or a matrix

y

a vector or a matrix

Details

All operations +,-,*,/ are performed on unclassed objects.

Value

a vector or a matrix with the operated values

Note

It is better not to 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

tmp1 <- matrix(1:12,ncol=3)
tmp2 <- 1:3
#gsi.add(tmp1,tmp2)
#gsi.sub(tmp1,tmp2)
#gsi.mul(tmp1,tmp2)
#gsi.div(tmp1,tmp2)

#gsi.add(tmp2,tmp2)
#gsi.sub(tmp2,tmp2)
#gsi.mul(tmp2,tmp2)
#gsi.div(tmp2,tmp2)

#gsi.add(tmp1,tmp1)
#gsi.sub(tmp1,tmp1)
#gsi.mul(tmp1,tmp1)
#gsi.div(tmp1,tmp1)

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.