getPlotData {moveHMM}R Documentation

Data to produce plots of fitted model

Description

Data to produce plots of fitted model

Usage

getPlotData(m, type, format = "wide", alpha = 0.95)

Arguments

m

Fitted HMM object, as output by fitHMM.

type

Type of plot, one of: "dist", "tpm", "stat"

format

Format of data, either "wide" (for base graphics) or "long" (for ggplot)

alpha

Level of confidence intervals. Default: 0.95, i.e., 95% confidence intervals

Details

Value

Data frame (or list of data frames) containing data in a format that can easily be plotted. If type = "dist", the output is a list with two elements, "step" and "angle". If type = "tpm" or "stat", the output is a list with one element for each covariate. See details for more extensive description of output.


[Package moveHMM version 1.9 Index]