Learn R Programming

FlywayNet (version 0.1.0)

estimate_migration_from_trajectories_C: Internal C function (do not use).

Description

Estimate parameters from a set of trajectories

Usage

estimate_migration_from_trajectories_C(
  migration,
  trajectories,
  estimate_transitions = NULL,
  estimate_sojourns = NULL,
  sojourn_domain = NULL,
  min_prob = NULL
)

Arguments

migration

A migration (migration structure).

trajectories

Set of trajectories (trajectory structure).

estimate_transitions

Boolean for requiring transition parameters estimation.

estimate_sojourns

Boolean for requiring sojourn parameters estimation.

sojourn_domain

Sojourn parameters domains.

min_prob

Minimum probability.

Value

migration with estimated parameters (migration structure).