Learn R Programming

lmvar (version 1.5.2)

plot_qdis_lmlike: Plot of the distribution of quantiles for objects of class 'lm' or 'lmvar'

Description

Function produces a histogram of quantiles for objects of class 'lm' or 'lmvar'. This function is called by plot_qdis.lm and plot_qdis.lmvar. It is not intended to be called directly.

Usage

plot_qdis_lmlike(object_1, object_2 = NULL, name_1, name_2 = NULL)

Arguments

object_1

Object of class 'lm' or 'lmvar'

object_2

Object of class 'lm' or class 'lmvar'

name_1

Character string, the name of object_1

name_2

Character string, the name of object_2

Details

If object_2 is specified, a plot for object_1 and one for object_2 will be combined in the same plot.

The string name_1 and (optionally) name_2 are used in the legend of the plot as names for object_1 and (optionally) object_2.

All inputs of class 'lm' must contain the response vector \(y\). I.e., one must run lm with argument y = TRUE.