Description Usage Arguments Value Author(s) Examples
A vector of weights based on the inverse of time duration between time points.
1 |
tp |
numeric vector of sorted time points |
FUN |
a function to apply |
link0 |
logical; should the link from t[0] be included? |
names |
logical; should names by attached to the vector? |
... |
optional arguments passed to |
a matrix of weights of length length(tp) - 1
Gavin L. Simpson
1 2 | tp <- seq_len(10)
makeWeightVec(tp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.