graph_transition: Compute transition probabilities of a 'graph'

View source: R/graph_transition.R

graph_transitionR Documentation

Compute transition probabilities of a graph

Description

Use the movement model (see graph_set_movement()) to convert ground speed gs (or airspeed as if available) into the transition probability of the edges of the graph.

Usage

graph_transition(graph)

Arguments

graph

Graph constructed with graph_create() and with a movement (see graph_set_movement()).

Details

The vector return correspond to the elements of the transition matrices T_k \forall k \in [1,n] extracted for all edges considered in the graph. Each of these values thus corresponds to the probability P(X_k \mid X_{k-1}), where X_k is the random variable of the position of the bird at time k.

To create a generic function, we define speed2prob which converts the speed of an edge into the transition probability.

Value

Vector of transition probability for each edge.

See Also

Other movement: bird_create(), graph_set_movement(), plot_graph_movement(), speed2prob(), tag_download_wind()


Rafnuss/GeoPressureR documentation built on April 17, 2025, 12:58 p.m.