Learn R Programming

lineartestr (version 1.0.0)

presiduals: Calculates the accumulated distribution of residuals at each residual point.

Description

Calculates the accumulated distribution of residuals at each residual point.

Usage

presiduals(fitted_values, resids)

Arguments

fitted_values

Vector of fitted values.

resids

Residuals vector of each fitted value.

Value

Vector of size length(resids).

Examples

Run this code
# NOT RUN {
y_hat <- c(4, 8, 7)
resids <- c(1, 5, 3)
presiduals(y_hat, resids)
# }

Run the code above in your browser using DataLab