Learn R Programming

xpose4 (version 4.5.3)

xp.distr.mod.size: Plot of model size distribution for a bootgam or bootscm

Description

This function creates a kernel smoothed plot of the number of covariates included in the final model in each gam/scm in the bootgam/bootscm procedure.

Usage

xp.distr.mod.size(bootgam.obj = NULL, boot.type = NULL, 
                  main = NULL, bw = 0.5, xlb = NULL, ...)

Arguments

bootgam.obj

The bootgam or bootscm object.

boot.type

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

main

Plot title.

bw

The smoothing bandwidth to be used for the kernel.

xlb

The x-axis label.

Additional plotting parameter may be passed to this function.

Value

A lattice plot object will be returned.