integralFun {coda4microbiome} | R Documentation |
Integral of the curve trajectory of subject_id in the interval a,b
integralFun(x, y, id, a, b)
x |
abundance matrix or data frame in long format (several rows per individual) |
y |
outcome (binary); data type: numeric, character or factor vector |
id |
subjects-ids |
a |
interval initial time |
b |
interval final time |
matrix with integrals for each individual (rows) and each taxa (columns)
M. Calle - T. Susin