R/dsaggwidth.R

#' @export
`dsaggwidth` <-
function(x){
# Aggregated width of all focal elements of a BPA x (area between Bel(x) and Pl(x))
#=========================================================================
# Copyright (c) Philipp Limbourg, University of Duisburg-Essen
# www.uni-duisburg-essen.de/informationslogistik/
#=========================================================================
dsaggwidth=sum((x[,2]-x[,1])*x[,3])
}

Try the ipptoolbox package in your browser

Any scripts or data that you put into this service are public.

ipptoolbox documentation built on May 2, 2019, 2:09 a.m.