get_volume_gaussian_2D: Compute volume under 2D gaussian

Description Usage Arguments Details Value Author(s) Examples

View source: R/get_volume_gaussian_2D.R

Description

Compute volume under 2D gaussian

Usage

1
get_volume_gaussian_2D(X_sig, Y_sig)

Arguments

X_sig

numeric value(s) of the x-axis spread (sigma)

Y_sig

numeric value(s) of the y-axis spread (sigma)

Details

Volume under the 2D gaussian is computed as: 2 * pi * sqrt(abs(X_sig)) * sqrt(abs(Y_sig))

Numeric vectors can be supplied to X_sig and Y_sig. If vectors of length greater than 1 are given, the function computes volume for each sequential pair of X_sig, Y_sig values. The lengths of these supplied vectors must be identical.

Value

Numeric value(s) indicating the computed volume(s)

Author(s)

Vikram B. Baliga

Examples

1
2
3
library(gaussplotR)

get_volume_gaussian_2D(5, 3) #24.33467

gaussplotR documentation built on Jan. 13, 2021, 3:55 p.m.