Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
doserjef committed Sep 11, 2024
1 parent 961b97d commit f64d08e
Show file tree
Hide file tree
Showing 4 changed files with 1,126 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: spAbundance
Type: Package
Title: Univariate and Multivariate Spatial Modeling of Species Abundance
Version: 0.1.4
Version: 0.2.0
Authors@R: c(person("Jeffrey", "Doser", role=c("aut", "cre"), email="[email protected]"), person("Andrew", "Finley", role = c("aut")))
Description: Fits single-species (univariate) and multi-species (multivariate) non-spatial and spatial abundance models in a Bayesian framework using Markov Chain Monte Carlo (MCMC). Spatial models are fit using Nearest Neighbor Gaussian Processes (NNGPs). Details on NNGP models are given in Datta, Banerjee, Finley, and Gelfand (2016) <doi:10.1080/01621459.2015.1044091> and Finley, Datta, and Banerjee (2022) <doi:10.18637/jss.v103.i05>. Fits single-species and multi-species spatial and non-spatial versions of generalized linear mixed models (Gaussian, Poisson, Negative Binomial), N-mixture models (Royle 2004 <doi:10.1111/j.0006-341X.2004.00142.x>) and hierarchical distance sampling models (Royle, Dawson, Bates (2004) <doi:10.1890/03-3127>). Multi-species spatial models are fit using a spatial factor modeling approach with NNGPs for computational efficiency.
License: GPL (>= 3)
Expand Down
2 changes: 1 addition & 1 deletion R/generics.R
Original file line number Diff line number Diff line change
Expand Up @@ -4655,7 +4655,7 @@ predict.svcAbund <- function(object, X.0, coords.0, n.omp.threads = 1,

ptm <- proc.time()

out <- .Call("svcAbundNNGPGaussianPredict", coords, J, family.c, p.abund, p.svc, n.neighbors,
out <- .Call("svcAbundGaussianNNGPPredict", coords, J, family.c, p.abund, p.svc, n.neighbors,
X.fix, X.w.0, coords.0, J.0, nn.indx.0, beta.samples,
theta.samples, tau.sq.samples, w.samples, beta.star.sites.0.samples,
sites.link, sites.0.sampled, sites.0.indx,
Expand Down
Loading

0 comments on commit f64d08e

Please sign in to comment.