adeoptions: Setting options for the adehabitat* package

View source: R/ademaps-internal.R

adeoptionsR Documentation

Setting options for the adehabitat* package

Description

The function adeoptions defines the options for the package adehabitatMA, and more generally, for all brother packages (adehabitatHR, adehabitatHS and adehabitatLT).

Usage

adeoptions(...)

Arguments

...

a list of named elements giving the value of options for the package adehabitatMA

Details

This functions sets the value of components of the internal list .adeoptions, which contains the values of the options. Two options are currently implemented:

epsilon the smallest significant distance between two points above which we should consider to deal with two separate locations

shortprint logical. Defines whether special show methods should be used when printing objects belonging to classes of the package sp

Value

a list of options for the package adehabitatMA

Author(s)

Clement Calenge clement.calenge@ofb.gouv.fr

Examples


## load the data
data(lynxjura)

## short printing method
oldopt <- adeoptions(shortprint=TRUE)

lynxjura$map

## 'sp' print method for Spatial objects
adeoptions(shortprint=FALSE)

lynxjura$map

## original options
adeoptions(oldopt)

lynxjura$map



adehabitatMA documentation built on April 6, 2023, 5:19 p.m.