BKMR wrapper performing sex specific loops. Load Matrix and bindrcpp packages

bkmr_sex(
  data,
  folder_path,
  include_sex = TRUE,
  ln_mixture_vars = NULL,
  outcome_vars = NULL,
  covariate_vars = NULL,
  groups,
  iter = iter
)

Arguments

data

input of a dataframe that contain all the variables mentioned in the wrapper

folder_path

input folder location to save the output in RDA format

include_sex

input TRUE or FASE to perform sex stratified analysis

ln_mixture_vars

input list of chemicals that need to be considered as mixture

outcome_vars

input list of outcome variables

covariate_vars

input list of covariates

groups

input grouping structure of the chemicals considered as mixture, these values should be integers

iter

input a numeric value for number of iterations

Value

this function will return output from bkmr model in RDA format