methods.maxent: Methods for maxent object

methods.maxentR Documentation

Methods for maxent object

Description

predict(), summary(), plot() and var_imp() methods for maxent object

Usage

## S3 method for class 'maxent'
predict(
  object,
  newdata = NULL,
  thrtype = NULL,
  clamp = NULL,
  type = "raw",
  ...
)

## S3 method for class 'maxent'
summary(object, ...)

## S3 method for class 'maxent'
plot(x, testdata = NULL, testy = NULL, ...)

## S3 method for class 'maxent'
var_imp(object, itype = "both", ...)

Arguments

newdata

A data.frame of values to predict. If NULL, predictions of the training samples are returned.

thrtype

Which thr type to use. Only used if type = 'raw'.

clamp

logical. Apply clamping in prediction?

type

One of 'raw' or 'prob'.

...

Further arguments to plot.roc.

x, object

A model returned by maxent.

testdata

A data.frame with test values to be use in ROC curve. If NULL, training values will be used.

testy

A factor of response variable of testdata. If NULL, it will be guessed from testdata data.frame.

itype

One of 'contribution', 'permutation' or 'both'.

Details

  • predict - return predicted classes or matrix of class probabilities

  • summary - open report generated by maxent.jar

  • plot - Plot a ROC curve based in the model

  • var_imp - Get variable importance for a maxent model


correapvf/caretSDM documentation built on June 2, 2022, 8:29 a.m.