Learn R Programming

lin.eval (version 0.1.2)

calculate_adl: Computes average deviation from linearity adl.

Description

Computes average deviation from linearity adl.

Usage

calculate_adl(predicted.poly, predicted.lm)

Arguments

predicted.poly

vector of predicted values from best-fitting polynomial model

predicted.lm

vector of predicted values from linear model

Value

value for average deviation from linearity as a percentage