integralFun {coda4microbiome}R Documentation

integralFun

Description

Integral of the curve trajectory of subject_id in the interval a,b

Usage

integralFun(x, y, id, a, b)

Arguments

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

Value

matrix with integrals for each individual (rows) and each taxa (columns)

Author(s)

M. Calle - T. Susin


[Package coda4microbiome version 0.2.3 Index]