Learn R Programming

refreg (version 0.1.1)

plot.summary_boot: Default summary_boot plotting

Description

This function takes the bivRegr bootstrap replicates obtained with summary_boot function, and plots the parametric, and smooth effects for each model.

Usage

# S3 method for summary_boot
plot(x, eq = 1, select = NULL, ...)

Arguments

x

A summary_boot object.

eq

A number indicating the model effects to be depicted; 1 = first response mean, 2 = second response mean, 3 = first response variance, 4 = second response variance, and 5 = correlation model.

select

An optional parameter to represent an specific effect for each equation.

...

Additional plot parameters, not yet implemented.

Value

This function returns a ggplot2 plot for the estimated effects along with bootstrap 95% confidence intervals.