b-steve / acre

Acoustic spatial capture-recapture models
GNU General Public License v3.0
3 stars 1 forks source link

Covariate plots don't show negative values #4

Closed b-steve closed 1 year ago

b-steve commented 1 year ago

Calling plot(data, type = "covariates") shows white cells where covariate values are negative, but negative values are possible and should be displayed.

Here is an example:

library(acre)
demo <- demo_fit("ihd", fit = FALSE)
demo$read_input$loc_cov$noise <- demo$read_input$loc_cov$noise - 10
data <- do.call("read.acre", demo$read_input)
plot(data, types = "covariates")
2345scy commented 1 year ago

fixed in the commit 7842b52