View source: R/Table_alr_Dirich_glv.R
Table_alr_Dirich_glv | R Documentation |
This function returns a table with the interpretable parameters of the Dirich-gLV model.
Table_alr_Dirich_glv(Param.Estimates, especie, names, E)
Param.Estimates |
Vector with the estimates parameters. It is equal to
| ||||||
especie |
Matrix that contains at row i the bacterial taxa of bacteria i at all time points. The bacteria placed in the last row of this matrix is the one used as reference in the alr transformation that the model applies. | ||||||
names |
Vector with the name of the bacteria in the same order than are present in the | ||||||
E |
Number of bacteria available. |
In an example with three bacteria, the regression of this model is defined by
r_{1}\cdot log(x_{1}(t)/x_{3}(t))+log(x_{1}(t)/x_{3}(t))\cdot [a_{11}\cdot log(x_{1}(t)/x_{3}(t))(t)+a_{12}\cdot log(x_{2}(t)/x_{3}(t))]
r_{2}\cdot log(x_{2}(t)/x_{3}(t))+log(x_{2}(t)/x_{3}(t))\cdot [a_{21}\cdot log(x_{1}(t)/x_{3}(t))(t)+a_{22}\cdot log(x_{2}(t)/x_{3}(t))]
Returns a table written in latex format with the matrix pam.
Creus-MartÃ, I. and Moya, A. and Santonja, F. J. (2018). A Statistical Model with a Lotka-Volterra Structure for Microbiota Data. Lucas Jodar, Juan Carlos Cortes and Luis Acedo, Modelling or engineering and human behavior 2018, Instituto Universitario de Matematica Multidisciplinar. ISBN: 978-84-09-07541-6
pam.ini=rbind(c(0.1,0.2,0.3),c(0.4,0.5,0.6))
paramEstimadosFinal=c(5, as.vector(pam.ini))
E=3
especie=cbind(c(0.2,0.4,0.4),c(0.1,0.1,0.8),c(0.5,0.1,0.4))
names=c("a","b","c")
Table_alr_Dirich_glv(paramEstimadosFinal,especie,names,E)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.