Description Usage Arguments Value
Predicts the aging curve for a sequence of ages using the fixed effect coefficients from a fitted model
1 | pred_curve(ages, coefs, poly_model)
|
ages |
numeric. The ages for which to estimate the player's aging curve. |
coefs |
The coefficients from the fitted model. Can be either a vector or a matrix where each column consists of a different set of coefficients. |
poly_model |
the model used to decompose the |
data.frame containing the ages and the estimated aging curve for each age.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.