Fig. 1From: Statistical software for analyzing the health effects of multiple concurrent exposures via Bayesian kernel machine regressionUsage example showing R code to fit BKMR with a continuous outcome. Here ‘y’ denotes the response vector of length n (where n is the number of observations); ‘Z’ is the n-by-M exposure matrix, where M is the number of exposure variables included in the exposure-response function h; and ‘X’ is the n-by-P covariate matrix, where P is the number of covariatesBack to article page