Learn R Programming

hpa (version 1.1.3)

plot_hpaSelection: Plot hpaSelection random errors approximated density

Description

Plot hpaSelection random errors approximated density

Usage

plot_hpaSelection(x, is_outcome = TRUE)

Arguments

x

Object of class "hpaSelection"

is_outcome

logical; if TRUE then function plots the graph for outcome equation random errors. Otherwise plot for selection equation random errors will be plotted.

Value

This function returns the list containing random error expected value errors_exp and variance errors_var estimates for selection (if is_outcome = TRUE) or outcome (if is_outcome = FALSE) equation.