Learn R Programming

gofMC (version 1.1.2)

utrend: Determine the general trend (general, overall slope) of the fitmetric function

Description

Calculates the fitmetric function at two distant points and calculates the slope using lineal regression.

Usage

utrend(fun)

Arguments

fun
as function R2, rmse, or user (user-defined function)

Value

a character string ("Increasing", "Decreasing", "Flat", "Uncertain")

Examples

Run this code
utrend(R2)
utrend(rmse)

Run the code above in your browser using DataLab