ctmm-initiative / ctmm

Continuous-Time Movement Modeling. Functions for identifying, fitting, and applying continuous-space, continuous-time stochastic movement models to animal tracking data.
http://biology.umd.edu/movement.html
47 stars 12 forks source link

interactive = TRUE #44

Closed MarkJThomas closed 1 year ago

MarkJThomas commented 1 year ago

Hi, when I run:

GUESS<-ctmm.guess(OCT$OC1,CTMM = FITS4$OC1, interactive = TRUE)

the plot is not interactive

I tried loading library(manipulate) but still not working, not sure if it's an issue or my R studio

TIA

MarkJThomas commented 1 year ago

When I run:

library(manipulate) manipulate(plot(1:x), x = slider(5, 10))

before the above the gear icon appeared, then when I run

GUESS<-ctmm.guess(OCT$OC1,CTMM = FITS4$OC1, interactive = TRUE)

it worked!

But it won't let you manipulate the plot

chfleming commented 1 year ago

Unfortunately, the manipulate library has become fairly unreliable in Rstudio. Sometimes if you call a manipulate function multiple times, then it will eventually start working. Other times it won't. The only solution I can really provide is an alternative variogram.fit output option like through RShiny.