PredictorResponseBivarLevels: Plot cross-sections of the bivariate predictor-response...

Description Usage Arguments Details

View source: R/PredictorResponseFunctions.R

Description

Function to plot the h function of a particular variable at different levels (quantiles) of a second variable

Usage

1
2
PredictorResponseBivarLevels(pred.resp.df, Z = NULL, qs = c(0.25, 0.5,
  0.75), both_pairs = TRUE, z.names = NULL)

Arguments

pred.resp.df

object obtained from running the function PredictorResponseBivar

Z

an n-by-M matrix of predictor variables to be included in the h function. Each row represents an observation and each column represents an predictor.

qs

vector of quantiles at which to fix the second variable

both_pairs

flag indicating whether, if h(z1) is being plotted for z2 fixed at different levels, that they should be plotted in the reverse order as well (for h(z2) at different levels of z1)

z.names

optional vector of names for the columns of z

Details

For guided examples, go to https://jenfb.github.io/bkmr/overview.html


bkmr documentation built on May 29, 2017, 7:24 p.m.

Search within the bkmr package
Search all R packages, documentation and source code