Learn R Programming

rbenvo (version 1.0.5)

joinvo: Join BEF and subject data within a benvo

Description

Join BEF and subject data within a benvo

Usage

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

Methods (by class)

  • benvo: method

Details

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