Skip to contents

Plot the habitat preference function as a function of any covariate.

Usage

plotmomo.pref(
  x,
  type = "taxis",
  main = "Preference",
  col = "black",
  lwd = 1,
  ci = 0.95,
  keep.gpar = FALSE,
  add = FALSE,
  xlab = "Covariate",
  ylab = "Preference",
  bg = NULL,
  ylim = NULL,
  xlim = NULL,
  return.limits = FALSE,
  ...
)

Arguments

x

a list of class momo.sim or momo.fit.

type

the process that should be plotted, either "taxis" (default) or "diffusion".

main

a main title for the plot. Default: "Preference".

col

color of line. Default: "black".

lwd

line width. Default: 1.

ci

level for confidence intervals. Default: 0.95.

keep.gpar

logical; If TRUE, do not overwrite the graphical parameters. Default: FALSE.

add

logical; if TRUE, no new graphical window is created and tags are added to existing graphical window. Default: FALSE.

xlab

a label for the x axis. Default: "Covariate".

ylab

a label for the y axis. Default: "Preference".

bg

background color of the graphical window. By default (NULL), background is transparent.

ylim

y limits

xlim

x limits

return.limits

logical; If TRUE, no graph is created but x and y limits are returned. Default: FALSE.

...

additional arguments for the function plot.

Value

Nothing.