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)

Arguments

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

Details

Joins the subject dataframe within a benvo to the supplied BEF dataframe keeping the selected component

Methods (by class)

  • benvo: method