A function to fill an empty vector with values from a data frame
Usage
.vector_filler(v, target, source, id_col, uid)
Arguments
- v
A vector to fill
- target
The target column to fill
- source
The source data frame
- id_col
The column that contains the unique identifier for each subject
- uid
A unique identifier for each subject