Skip to content

Commit

Permalink
Record mobility
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardlavender committed Oct 22, 2024
1 parent d878be8 commit 660c020
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions analyses/patter-02_exploration.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ max(steps)
spar <- MASS::fitdistr(steps, "gamma")
step_shape <- spar$estimate["shape"] |> as.numeric()
step_scale <- 1 / spar$estimate["rate"] |> as.numeric()
mobility <- 115
mobility <- 115.0
# shape rate
# 1.494954e+00 5.714505e-02
# (6.233589e-04) (2.822856e-05)
Expand Down Expand Up @@ -154,7 +154,8 @@ receiver_gamma <- 3240
#### Save outputs

parameters <-
list(model_move = list(step = list(shape = step_shape, scale = step_scale),
list(model_move = list(mobility = mobility,
step = list(shape = step_shape, scale = step_scale),
angle = list(mean = angle_mean, sd = angle_sd)),
model_obs = list(receiver_gamma = receiver_gamma))

Expand Down

0 comments on commit 660c020

Please sign in to comment.