View source: R/modelFromLambdas.R
modelFromLambdas | R Documentation |
modelFromLambdas
returns an R function for a given Maxent model, using
the .lambdas file produced by the MaxEnt program to parameterize the model.
The returned function gives predictions of the model in "raw output" format
from values of explanatory variables.
modelFromLambdas(file, raw = FALSE)
file |
pathway to the .lambdas file of a given Maxent model |
raw |
Logical. Should the function return raw Maxent output instead of PRO? |
The modelFromLambdas
function returns a Maxent model, in the form of a
function that calculates Maxent predictions for given values of explanatory
variables.
Input to the function returned by modelFromLambdas
are values of
explanatory variables in the model. The format of this input must be an array
(matrix or data frame) with m columns, and column names must match variable
names in the .lambdas file used to reproduce the model.
returns an R function (object).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.