Learn R Programming

S4DM (version 0.0.1)

dr_rulsif: Density-ratio SDM estimation with RuLSIF

Description

dr_rulsif is an internal function for density-ratio estimation with RuLSIF Kanamori2009-pz,Yamada2013-raS4DM.

Usage

dr_rulsif(
  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),
  alpha = 0.1,
  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 RuLSIF. Default is the RuLSIF default.

lambda

Lambda parameter for RuLSIF. Default is the RuLSIF default.

alpha

Relative parameter. Defaults to RuLSIF default.

kernel_num

kernel_number for RuLSIF. Default is the RuLSIF default.

method

one of either "fit" or "predict"

object

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

References