Join BEF and subject data within a benvo
joinvo(x, term, component = "Distance", NA_to_zero = F) # S3 method for benvo joinvo(x, term, component = "Distance", NA_to_zero = F)
x | benvo object |
---|---|
term | string of bef name to join on in sub_bef_data |
component | one of c("Distance","Time","Distance-Time") indicating which column(s) of the bef dataset should be returned |
NA_to_zero | replaces NA values with zeros - potentially useful when constructing design matrices |
Joins the subject dataframe within a benvo to the supplied BEF dataframe keeping the selected component
benvo
: method