# NOT RUN {
data <- adnimerge %>% dplyr::filter(VISCODE == 'bl')
# set data in the traditional way
model <- aba_model() %>% set_data(data)
# pipe data into an `aba_model()` call to get access to auto-completion on
# variables from RStudio upon further pipes. This is useful for setting
# other specs because it will reduce the chance of typos on variable names.
model <- data %>% aba_model()
# }
Run the code above in your browser using DataLab