Description Usage Arguments Details Value Author(s) Examples
This function uses linear interpolation method to calculate corresponding y value at time t0.
1 | lim(x, y, id, t0)
|
x |
vector of ages. |
y |
vector of measurements. |
id |
factor of subject identifiers. |
t0 |
target age value. |
For each individual's measurements in growth data set, the first time measurement is usually not the same, people are interested in some measurement index of certain age, for example height of age 6 years old for each id. This function can help us compute corresponding measurement at interested age.
a data frame including id and corresponding y value at t0.
Zhiqiang Cao zcaoae@connect.ust.hk, Man-Yu Wong mamywong@ust.hk
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.