gradient: Approximate the Gradient

View source: R/gradient.R

gradientR Documentation

Approximate the Gradient

Description

A function that will calculate the slope between every combination of adjacent points in a grid.

Usage

gradient(
  agObject,
  d = names(agObject),
  m = names(agObject[[1]][[1]][[1]]),
  metric,
  f = "median"
)

Arguments

agObject

aggregate_pf; A list object (result of aggregate_pf()) of aggregated performance metrics

d

character; A vector of the datasets of interest

m

character; A vector of the interpolation methods of interest

metric

character; A character vector describing the performance metrics of interest

f

character; "median" (default): which statistic will be represented by the gradient


castels/interpTools documentation built on June 7, 2024, 4:20 p.m.