getMu {marcher} | R Documentation |
Obtain mean vector for a range shift process
Description
Obtain a mean vector for a movement with one (getMu
) or more (getMu_multi
) range shifts. This function is mainly used within the likelihood of range shift processes, but is also useful for simulating processes.
Usage
getMu(T, p.m)
Arguments
T |
vector of times |
p.m |
mean parameters. A named vector with elements t1, dt, x1, y1, x2, y2, for a single-shift process. For multiple (n) shifts, the paramaters are numbered: (x1, x2 ... xn), (y1, y2 ... yn), (t1 .. t[n-1]), (dt1 ... dt[n-1]) |
See Also
Examples
T <- 1:100
p.m <- c(x1 = 0, y1 = 0, x2 = 10, y2 = 20, t1 = 45, dt = 55)
scan_track(time = T, x=getMu(T, p.m))
[Package marcher version 0.0-2 Index]