Usage Arguments Value Author(s)
1 | mergepredictions(dat, preddat, cov, predcov, id, predid = NULL, name = NULL)
|
dat |
Original dataset |
preddat |
Dataset with predictions |
cov |
Name of covariate in original dataset |
predcov |
Name of covariate in predicted dataset |
id |
Name of unique identifier in original dataset that links the predicted and original data |
predid |
Name of unique identifier in predicted dataset that links the predicted and original data (uses id if not specified) |
name |
Name of new covariate that contains predicted and original data |
Returns data frame identical to original dataset, but with missing baseline filled in with predictions.
Lauren
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.