View source: R/complete_data.R
complete_data | R Documentation |
Create complete dataset This function returns the complete dataset trying all validated values for each unvalidated subject
complete_data( Y_unval = NULL, Y_val = NULL, X_unval = NULL, X_val = NULL, C = NULL, Validated = NULL, Bspline = NULL, data, theta_pred = NULL, gamma_pred = NULL )
Y_unval |
Column names with the unvalidated outcome. If |
Y_val |
Column names with the validated outcome. |
X_unval |
Column name(s) with the unvalidated predictors. If |
X_val |
Column name(s) with the validated predictors. If |
C |
(Optional) Column name(s) with additional error-free covariates. |
Validated |
Column name with the validation indicator. The validation indicator can be defined as |
Bspline |
Vector of column names containing the B-spline basis functions. |
data |
A dataframe with one row per subject containing columns: |
theta_pred |
Vector of columns in |
gamma_pred |
Vector of columns in |
dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.