Plot cross-sections of the bivariate predictor-response function
Function to plot the h function of a particular variable at different levels (quantiles) of a second variable
PredictorResponseBivarLevels(pred.resp.df, Z = NULL, qs = c(0.25, 0.5, 0.75), both_pairs = TRUE, z.names = NULL)
pred.resp.df |
object obtained from running the function |
Z |
an |
qs |
vector of quantiles at which to fix the second variable |
both_pairs |
flag indicating whether, if |
z.names |
optional vector of names for the columns of |
For guided examples, go to https://jenfb.github.io/bkmr/overview.html
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.