Description Usage Arguments Value Examples
The raw data will be used to fit all of the statistical models. This data will be processed according to what is specified in the aba stat objects.
1 |
model |
an aba model. The model on which data will be set. |
data |
dataframe or tibble. The data to set. |
An aba model with data set.
1 2 3 4 5 6 7 8 9 | 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()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.