Skip to contents

Individual plots for fitted models values.

Usage

fn_figs(datos, CIPI, i, etiquetas, modelos)

Arguments

datos

A data frame contains the following variables: independent (x) and dependent (y) variables, the fitted variable (fitt), a weighted variable (wi), and additional details including the weights (wi), fitted values (fitt), residuals (ei), and the scale.

CIPI

A data frame containing the values of: independent variable (xseq); fitted values, confidence and predicted interval (lower and upper values).

i

An integer value indicating the regression analyzed.

etiquetas

A list indicating the labels of the axes and their unit of measurement.

modelos

A list of variables that are used for the regression model.

Value

Fig a customized scatter plot.

Details

The function creates a scatter plot with the observed values (points), fitted regression (solid line) and its confidence interval (shaded area)

Examples

if (FALSE) { # \dontrun{
 FY <- fn_figs(datos, CIPI, i, etiquetas, modelos)
} # }