Learn R Programming

adehabitatMA (version 0.3.17)

adeoptions: 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(...)

Value

a list of options for the package adehabitatMA

Arguments

...

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

Author

Clement Calenge clement.calenge@ofb.gouv.fr

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

Examples

Run this code

## 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


Run the code above in your browser using DataLab