Skip to contents

This function will generate a plot of individual inclusion indexes for a specific covariate, which can be used to identify influential individuals for inclusion of that covariate. The index for an individual is calculated as the observed number of inclusions of that individual when the specific covariate was included minus the expected number of inclusions (based on the total bootstrap inclusions), divided by expected.

Usage

xp.incl.index.cov.ind(
  bootgam.obj = NULL,
  boot.type = NULL,
  cov.name = NULL,
  main = NULL,
  ylb = "ID",
  xlb = "Individual inclusion index",
  return_plot = TRUE,
  results.tab = NULL,
  ...
)

Arguments

bootgam.obj

A bootgam or bootscm object.

boot.type

Either "bootgam" or "bootscm". Default is NULL, which means the user will be asked to make a choice.

cov.name

The name of the covariate for which to create the plot.

main

The title of the plot.

ylb

The label for the x-axis.

xlb

The label for the y-axis.

return_plot

Should a plot object be returned?

results.tab

Supply your own results table.

...

Additional plotting parameters.

Value

A lattice plot object is returned.

Author

Ron Keizer