Learn R Programming

foieGras (version 0.6-7)

fmap: fmap

Description

map foieGras fitted or predicted locations, with or without Argos observations, optionally apply a different projection

Usage

fmap(
  x,
  what = c("fitted", "predicted"),
  obs = FALSE,
  crs = NULL,
  ext.rng = c(0.05, 0.05),
  size = 1,
  col = "black"
)

Arguments

x

a foieGras fitted object

what

specify which location estimates to map: fitted or predicted

obs

include Argos observations on map (logical) (logical); ignored if `obs = FALSE`

crs

`proj4string` for re-projecting locations, if NULL the default projection ("+proj=merc") for the fitting the SSM will be used

ext.rng

factors to extend the plot range in x and y dimensions (can exceed 1)

size

size of estimated location points; optionally a vector of length 2, with size of observed locations given by 2nd value

col

colour of observed locations (ignored if obs = FALSE)