dr_ulsif: Density-ratio SDM estimation with uLSIF

View source: R/dr_ulsif.R

dr_ulsifR Documentation

Density-ratio SDM estimation with uLSIF

Description

dr_ulsif is an internal function for density-ratio estimation with uLSIF \insertCiteKanamori2009-pzS4DM.

Usage

dr_ulsif(
  presence_data = NULL,
  background_data = NULL,
  projection_data = NULL,
  sigma = 10^seq(-3, 1, length.out = 9),
  lambda = 10^seq(-3, 1, length.out = 9),
  kernel_num = 100,
  verbose = FALSE,
  method,
  object = NULL
)

Arguments

presence_data

dataframe of covariates

background_data

dataframe of covariates

projection_data

dataframe of covariates

sigma

Sigma parameter for uLSIF. Default is the uLSIF default.

lambda

Lambda parameter for uLSIF. Default is the uLSIF default.

kernel_num

kernel_number for uLSIF. Default is the uLSIF default.

method

one of either "fit" or "predict"

object

fitted object returned by a dr_... function. Only needed when method = "predict"

References

\insertAllCited

bmaitner/pbsdm documentation built on Feb. 8, 2025, 2:27 p.m.