PBalancePredi {CoDaLoMic} | R Documentation |
Calculating balances for a composition
Description
This function calculates the balance that has at the numerator de bacteria placed at Num
and has at the denominator the bacteria placed at Dem
Usage
PBalancePredi(Num, Dem, DatosEsperanzas)
Arguments
Num |
vector that contains the position in the matrix |
Dem |
vector that contains the position in the matrix |
DatosEsperanzas |
Vector with a coda composition. The bacteria are in the same orden than the matrix |
Value
Returns the value of the balance
Examples
Num=c(1,2)
Dem=c(3,4)
DatosEsperanzas=c(0.1,0.3,0.4,0.2)
PBalancePredi(Num,Dem,DatosEsperanzas)
[Package CoDaLoMic version 0.1.1 Index]