cumvtrapz: Cumulative Average Vertical Height of Trapezoidal Integration

View source: R/vtrapz.R

cumvtrapzR Documentation

Cumulative Average Vertical Height of Trapezoidal Integration

Description

Cumulative trapezoidal integration divided by x-domain.

Usage

cumvtrapz(x, ...)

## S3 method for class 'numeric'
cumvtrapz(x, y, ..., rm1 = TRUE)

## S3 method for class 'fv'
cumvtrapz(x, key = fvnames(x, a = ".y"), .x = fvnames(x, a = ".x"), ...)

## S3 method for class 'fvlist'
cumvtrapz(x, mc.cores = detectCores(), ...)

## S3 method for class 'hyperframe'
cumvtrapz(x, ...)

Arguments

x

numeric vector

...

additional parameters of the function trapz and cumtrapz

y

see function cumtrapz

rm1

logical scalar, whether to remove the first NaN-value from The function cumvtrapz() return, default TRUE

key, .x

character scalars

mc.cores

integer scalar, see function mclapply. Default is the return of the function detectCores.

Value

The function ⁠vtrapz.*()⁠ return a numeric scalar.

Note

This is a tentative thought: the prefix v stands for 'vertical'.

References

https://tingtingzhan.quarto.pub/groupedhyperframe/topics.html


groupedHyperframe documentation built on March 10, 2026, 5:08 p.m.