Description Usage Arguments Value
Sum up area under trapezoidal formulated by values of function at two adjacent observed time points.
1 | ITG_trap(X, basis, sseq, T.name = "TIME", from = 0, to = 1)
|
X |
a data.frame or vector
|
basis |
a matrix of basis |
sseq |
a sequence used as predictor variable to generate basis |
T.name |
a character specifying name for time varaible in X |
from, to |
two scalers defining domain for integration - defalt values from = 0, to = 1. |
a scaler approximating integral. If X is a vector, taking integration for basis on user provided time points sequence.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.