R/adj.herm.R

Defines functions adj.herm

Documented in adj.herm

#' Hermite polynomial adjustment term, not the series.
#' 
#' For internal use only -- not to be called by 'mrds' or 'Distance' users 
#' directly.
#'
#' @param distance perpendicular distance vector/scalar
#' @param scaling scale parameter
#' @param adj.order the adjustment order
#' 
#' @returns scalar or vector containing the Hermite adjustment term for every
#' value in \code{distance} argument
#'
#' @author Felix Petersma
adj.herm <- function(distance, scaling, adj.order) {
  return(hermite.poly((distance / scaling), adj.order))
}
DistanceDevelopment/mrds documentation built on Jan. 21, 2025, 12:33 a.m.