View source: R/eval_standard.R
eval_standard | R Documentation |
Create a standard evaluator
eval_standard()
aba model
data <- adnimerge %>% dplyr::filter(VISCODE == 'bl')
model <- aba_model() %>%
set_data(data) %>%
set_groups(everyone()) %>%
set_outcomes(ConvertedToAlzheimers, CSF_ABETA_STATUS_bl) %>%
set_predictors(
PLASMA_ABETA_bl, PLASMA_PTAU181_bl, PLASMA_NFL_bl,
c(PLASMA_ABETA_bl, PLASMA_PTAU181_bl, PLASMA_NFL_bl)
) %>%
set_stats('glm') %>%
set_evals('standard') %>%
fit()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.