This function does estimates the locations and times of migration, but not the duration (dt). It is most useful for obtaining a "null" estimate for seeding the likelihood estimation.
Examples
require(marcher)## Load simulated datadata(SimulatedTracks)# plot the MOU simulationscan_track(MOU.sim)# quick fit - setting dt = 10(pm.0<- with(MOU.sim, quickfit(T, X, Y, dt =10)))# interactive locator processif(interactive()){(with(MOU.sim, locate_shift(T, X, Y)))}# fit the modelfit <- with(MOU.sim, estimate_shift(T, X, Y))## Three cluster example# plot the three range shift simulationscan_track(MOU.3range)# quick fit ## (note - this may not always work!)with(MOU.3range, quickfit(T, X, Y, dt =10, n.clust =3))if(interactive()){ with(MOU.3range, locate_shift(T, X, Y, n.clust =3))}