boot_model: boot_model

View source: R/boot_model.R

boot_modelR Documentation

boot_model

Description

Function to calculate stability of variables' association with an outcome for a given model over a number of bootstrap repeats

Arguments

data

a dataframe containing an outcome variable to be permuted

outcome

the outcome as a string (i.e. "y")

boot_reps

the number of bootstrap samples

model

the model to be used (i.e. model_mbic)


stabiliser documentation built on May 31, 2023, 9:10 p.m.