update_refined_path: Update a given section of the refined path.

Description Usage Arguments Value See Also

Description

update_refined_path returns a MH update of a given section of the refined path.

Usage

1
2
update_refined_path(fixed_constant, type, fixed_values, curr_values,
  move_params, behav_params, obs)

Arguments

fixed_constant

List with components:

num_states

Numeric, the number of behavioural states.

indep_step

Boolean, True if independent step model, False if correlated.

obs_error

Boolean, True if observation error is to be included (independent or correlated).

corr_obs_error

Boolean, True if the observation error is correlated rather than independent.

q.bearings

Vector, index positions in move_params corresponding to bearing parameters.

q.speed_mean

Vector, index positions in move_params corresponding to mean speed parameters.

q.speed_corr

Vector, index positions in move_params corresponding to speed correlation parameters (only if correlated step model).

q.speed_var

Vector, index positions in move_params corresponding to speed variance parameters.

q.obs_error

Vector, index positions in move_params corresponding to error parameters.

ideal_refined_time_diff

Numeric, ideal time scale for the refined path (only if multistate case).

type

Character, the type of section being updated (start, middle, or end) from within the full path.

fixed_values

List with components set by set_fixed_values.

curr_values

List with componenets set by set_current_values.

move_params

Vector, movement parameters.

behav_params

List with components:

lambda

Vector, switching rates.

q

Square matrix (diagonal NA), switching probabilities.

obs

List with components:

x

Vector, observed x locations.

y

Vector, observed y locations.

times

Vector, observation times.

time_diffs

Vector, differences in observation times.

index_on_refined_path

Vector, index positions on refined path of observation times.

errors

List with components:

x

Vector, errors in x direction.

y

Vector, errors in y direction.

Value

List with the components:

accept

Boolean, True if proposal is accepted.

behav_fail

Boolean, True if proposal failed because of the rejection step in the behavioural proposal.

bearings

Vector of bearings.

steps

Vector of steps.

times

Vector of times (only in multi-behaviour).

behavs

Vector of behaviours (only in multi-behaviour).

See Also

Other Refined path: sim_steps


a-parton/CTStepTurn documentation built on May 14, 2019, 4:17 p.m.