gaussian: Standardized bivariate Gaussian function

gaussianR Documentation

Standardized bivariate Gaussian function

Description

Bivariate Gaussian function useful for simulating the response of a species to two environmental variables. The function is standardized so that it yields a value of 1 when the covariates are at their "optimal" values. The default values produce a univariate Gaussian function centered on 0 with unit variance.

Usage

gaussian(x1, x2 = 0, mu1 = 0, mu2 = 0, sigma1 = 1, sigma2 = 0, rho = 0, ...)

Arguments

x1

Numeric, values of the first variable.

x2,

Numeric, values of the second variable. Default is 0, in which case only response to x1 is returned.

mu1

Numeric, mean of x1 in a Gaussian function. The maximum value of the function with respect to x1 occurs at this value of x1.

mu2

Numeric, mean of x2 in a Gaussian function. The maximum value of the function with respect to x2 occurs at this value of x2.

sigma1

Numeric, standard deviation of x1 in a Gaussian function. Scales the width of the response to x1.

sigma2

Numeric, standard deviation of x2 in a Gaussian function. Scales the width of the response to x2.

rho

Numeric, strength of covariance between x1 and x2.

...

Other arguments (unused).


adamlilith/enmSdmPredImport documentation built on Dec. 31, 2022, 5:40 p.m.