Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Using ctmm.fit to assign a specific model

46 views
Skip to first unread message

Laura Franklin

unread,
Nov 30, 2024, 12:33:29 PM11/30/24
to ctmm R user group
Hi Chris,

I'm doing a little exploratory analysis of excursions of 13 female white-tailed deer and of course need to calculate their home ranges first. I have very little computing power for model selection, but I can get around that by doing that part in the ctmm web app. I want to do everything else in R, though, so I'm trying to do akde calculations for each doe by bypassing ctmm.select and going straight to ctmm.fit using whatever top model ctmm web spits out for each lady. I'm having a lot of trouble with that code and that's where I need help.

Top models for the does include OUf, OUF anisoptropic, OUF, and OU anisotropic. I'm really having trouble understanding which arguments I need to use for which model. I know that models are associated with different values for tau and omega, but I wasn't sure how to fit those into the arguments.

Would you mind providing me with some sample code for ctmm.fit() for each of the above models? Or, perhaps it's just the arguments for ctmm() that I need that I can then feed into ctmm.fit()?

Thank you!
Laura (PhD student)

Christen Fleming

unread,
Dec 4, 2024, 10:59:39 PM12/4/24
to ctmm R user group
Hi Laura,

Have you tried the new MoveApps? I assume they can export the selected models.

Anisotropic is CTMM$isotropic=FALSE, while not anisotropic (isotropic) is  CTMM$isotropic=TRUE
OUF is  CTMM$tau <- c(tau.position,tau.velocity)
OUf is  CTMM$tau <- c(tau,tau)
OU is  CTMM$tau <- tau

Best,
Chris
Reply all
Reply to author
Forward
0 new messages