predictOmniscientPermIa: Predictions for OMNISCIENT model using permuted interaction...

predictOmniscientPermIaR Documentation

Predictions for OMNISCIENT model using permuted interaction terms

Description

Predictions for OMNISCIENT model using permuted interaction terms.

Usage

predictOmniscientPermIa(
  model,
  data,
  sim,
  permProd = TRUE,
  permProdRule = NULL,
  b0 = NA,
  b1 = NA,
  b2 = NA,
  b11 = NA,
  b12 = NA,
  mu1 = NA,
  mu2 = NA,
  sigma1 = NA,
  sigma2 = NA,
  rho = NA,
  ...
)

Arguments

model

Omniscient model object (of class "function") representing a bivariate logistic or bivariate gaussian function.

data

Data frame.

sim

Raster layer object used to standardize output.

permProd

Logical, if TRUE (default) then permute product features using variables T1 and T2 according to permProdRule. If FALSE then predict as normal (no permutation).

permProdRule

Character or logical. Rule for how permutation of product features is applied. 'before' ==> Permute individual variable values then calculate product. 'after' ==> Calculate product then permute across these values. Ignored if permProd is NULL.

b0

Numeric, parameters for logistic or logisticShift function specified in the response argument (above). Logistic intercept. Default is NA.

b1

Numeric, parameters for logistic or logisticShift function specified in the response argument (above). Logistic slope. Default is NA.

b2

Numeric, parameters for logistic or logisticShift function specified in the response argument (above). Logistic slope. Default is c.

b11

Numeric, parameters for logistic or logisticShift function specified in the response argument (above). Left-right shift along variable. Default is NA.

b12

Numeric, parameters for logistic or logisticShift function specified in the response argument (above). Interaction term. Default is NA.

mu1

Numeric, parameters for gaussian function specified in the response argument (above). Mean of variable. Default is NA.

mu2

Numeric, parameters for gaussian function specified in the response argument (above). Mean of variable. Default is NA.

sigma1

Numeric, parameters for gaussian function specified in the response argument (above). Standard deviation of variable. Default is NA.

sigma2

Numeric, parameters for gaussian function specified in the response argument (above). Standard deviation of variable. Default is NA.

rho

Numeric, parameters for gaussian function specified in the response argument (above). Covariance term. Default is NA.

...

Arguments to pass to model function(s).

Value

Numeric vector. export


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