mergepredictions: Merge baseline predictions with original data

Usage Arguments Value Author(s)

Usage

1
mergepredictions(dat, preddat, cov, predcov, id, predid = NULL, name = NULL)

Arguments

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

Value

Returns data frame identical to original dataset, but with missing baseline filled in with predictions.

Author(s)

Lauren


czigler/HEIfunctions documentation built on May 14, 2019, 1:43 p.m.