fitPNB: Fit using Probabilistic niche model

Description Usage Arguments Details Value Author(s)

View source: R/fitPNB.R

Description

Model adegency matrix using K-nearest neighbour approach

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
fitPNB(
  data,
  type,
  optimum,
  optimumMin,
  optimumMax,
  range,
  rangeMin,
  rangeMax,
  verbose = TRUE
)

Arguments

data

An object of the class alienData, see alienData.

type

Method to be used to estimate the model. Either 'P' (presence-only) or 'PA' (presence-absence), respectively.

optimum

A vector of two values defining the optimum intercept (first value) and slope (second value).

optimumMin

A vector of two values giving the minimum values the optimum intercept and slope can have, respectively.

optimumMax

A vector of two values giving the maximum values the optimum intercept and slope can have, respectively.

range

A vector of two values defining the range intercept (first value) and slope (second value).

rangeMin

A vector of two values giving the minimum values the range intercept and slope can have, respectively.

rangeMax

A vector of two values giving the maximum values the range intercept and slope can have, respectively.

verbose

Logical. Whether messages from the algorithm are shown (TRUE) or not (FALSE). Default is TRUE.

Details

For now this function is only designed to handle presence-only and presence-absence data. In addition, the function can only handle a single continuous trait for each species.

Value

An object of class alienFit.

Author(s)

Dominique Gravel and F. Guillaume Blanchet


TheoreticalEcosystemEcology/alien documentation built on Feb. 21, 2020, 7:12 p.m.