dr_kliep: Density-ratio SDM estimation with KLIEP

View source: R/dr_kliep.R

dr_kliepR Documentation

Density-ratio SDM estimation with KLIEP

Description

dr_kliep is an internal function for density-ratio estimation with KLIEP.

Usage

dr_kliep(
  presence_data = NULL,
  background_data = NULL,
  projection_data = NULL,
  sigma = "auto",
  kernel_num = 100,
  fold = 5,
  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 KLIEP. Default is the KLIEP default.

kernel_num

kernel_number for KLIEP. Default is the KLIEP default.

fold

Number of folds for KLIEP cross-validation. Default is the KLIEP default.

method

one of either "fit" or "predict"

object

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


S4DM documentation built on May 11, 2026, 9:08 a.m.