Re: [R] aniMoutm/foiegras Assistance

2023-01-29 Thread Bert Gunter
The obvious: all optimization procedures can be subject to such errors, and simplifying models and/or weakening the criteria for stopping (increasing step size, increasing the delta of the change in value that signals convergence, trying different starting values for the parameters, etc.) are more

Re: [R] aniMoutm/foiegras Assistance

2023-01-29 Thread Roy Mendelssohn - NOAA Federal via R-help
Hi Zac: Two suggestions. In the map statement, set silent = FALSE, hopefully that will give you more info, The second is to try what is suggested in the error message, " Try simplifying the model with the following argument: map = list(rho_o = factor(NA))". I don't know what rho_o does, b

[R] aniMoutm/foiegras Assistance

2023-01-29 Thread ZAC WARHAM
Hi all, I am receiving the error *Newton failed to find minimum* whilst trying to fit a move persistence model in this package. I think the error is related to the optimiser in the TMB package but it is beyond my statistics/coding knowledge to track down the specific cause and solution. I would app

Re: [R] lines through points in lattice legend

2023-01-29 Thread martin gregory via R-help
Hi Kenneth, replacing the auto.key argument with key = list(space = "right", lines = list(type="b", pch=21:22, fill = c("white", "black")), text = list(c("a","b"))) works, but is definitely not simpler. Given that your choice of points is so distinctiv