maxent_response: Compute the predictor response(s) for a maxent model.

View source: R/response.R

maxent_responseR Documentation

Compute the predictor response(s) for a maxent model.

Description

Compute the predictor response(s) for a maxent model.

Usage

maxent_response(
  x,
  var = NULL,
  at = median,
  range = "pa",
  expand = 10,
  data = NULL,
  fun = dismo::predict,
  N = 100,
  plot = FALSE,
  ...
)

Arguments

x

maxent model output

var

character, one or more variables to compute response (defaults to all). See response

at

see response

range

see response

expand

see response

data

see response

fun

see response

N

numeric, the number of rows in the output. Responses are interpolated at this number of intervals.

plot

logical, if TRUE plot the response curves with plot_response

...

see response

Value

tibble of sampled predictors and responses

Examples

## Not run: 
  resp <- maxent_response(model, plot = TRUE)

## End(Not run)

BigelowLab/dismotools documentation built on Jan. 4, 2023, 11:24 a.m.