View source: R/analysis_get_fit.R
Obtain a trajectory "fit" object for a dataset
1 2 3 |
dat |
data frame containing variables to model |
x_var |
name of x variable to model (default is "agedays") |
y_var |
name of y variable to model (usually an anthropometric measure or z-score scaled anthropometric measure) |
method |
name of fitting method to use (see |
holdout |
should an observation be held out for fitting (will use column |
x_trans, y_trans |
transformation functions to be applied to x and y prior to modeling |
x_inv, y_inv |
inverse transformation functions for x and y to get back to the original scale after modeling |
... |
parameters passed on to the fitting method |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.