Skip to content

zetadiv

Functions to Compute Compositional Turnover Using Zeta Diversity

v1.3.0 · May 28, 2025 · GPL-3

Description

Functions to compute compositional turnover using zeta-diversity, the number of species shared by multiple assemblages. The package includes functions to compute zeta-diversity for a specific number of assemblages and to compute zeta-diversity for a range of numbers of assemblages. It also includes functions to explain how zeta-diversity varies with distance and with differences in environmental variables between assemblages, using generalised linear models, linear models with negative constraints, generalised additive models,shape constrained additive models, and I-splines.

Downloads

482

Last 30 days

7570th

482

Last 90 days

482

Last year

CRAN Check Status

1 ERROR
2 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (15 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) glm.cons.Rd:54: Lost braces; missing escapes or markup?
    54 | \item{method}{the method used in fitting the model. The default method "\code{glm.fit.cons}" uses function {nnnpls} from package nnls instead of \code{lm.fit} to impose the sign of the coefficients. As in \code{glm}, the alternative method "\code{model.frame}" returns the model frame and does no fitting.}
       |                                                                                                            ^
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) glm.cons.Rd:54: Lost braces; missing escapes or markup?
    54 | \item{method}{the method used in fitting the model. The default method "\code{glm.fit.cons}" uses function {nnnpls} from package nnls instead of \code{lm.fit} to impose the sign of the coefficients. As in \code{glm}, the alternative method "\code{model.frame}" returns the model frame and does no fitting.}
       |                                                                                                            ^
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) glm.cons.Rd:54: Lost braces; missing escapes or markup?
    54 | \item{method}{the method used in fitting the model. The default method "\code{glm.fit.cons}" uses function {nnnpls} from package nnls instead of \code{lm.fit} to impose the sign of the coefficients. As in \code{glm}, the alternative method "\code{model.frame}" returns the model frame and does no fitting.}
       |                                                                                                            ^
ERROR r-oldrel-windows-x86_64

examples

Running examples in 'zetadiv-Ex.R' failed
The error most likely occurred in:

> ### Name: Zeta.order.ex
> ### Title: Expectation of zeta diversity for a specific number of
> ###   assemblages or sites
> ### Aliases: Zeta.order.ex
> 
> ### ** Examples
> 
> 
> utils::data(bird.spec.coarse)
> data.spec.bird <- bird.spec.coarse[,3:193]
> 
> zeta.bird <- Zeta.order.ex(data.spec.bird, order = 3)
> zeta.bird
$zeta.order
[1] 3

$combinations
[1] 302621

$zeta.val
[1] 57.61204

$zeta.val.sd
[1] 13.10351

> 
> ##########
> s
Error: object 's' not found
Execution halted
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) glm.cons.Rd:54: Lost braces; missing escapes or markup?
    54 | \item{method}{the method used in fitting the model. The default method "\code{glm.fit.cons}" uses function {nnnpls} from package nnls instead of \code{lm.fit} to impose the sign of the coefficients. As in \code{glm}, the alternative method "\code{model.frame}" returns the model frame and does no fitting.}
       |                                                                                                          
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) glm.cons.Rd:54: Lost braces; missing escapes or markup?
    54 | \item{method}{the method used in fitting the model. The default method "\code{glm.fit.cons}" uses function {nnnpls} from package nnls instead of \code{lm.fit} to impose the sign of the coefficients. As in \code{glm}, the alternative method "\code{model.frame}" returns the model frame and does no fitting.}
       |                                                                                                          
ERROR r-oldrel-windows-x86_64

Rd files

checkRd: (-1) glm.cons.Rd:54: Lost braces; missing escapes or markup?
    54 | \item{method}{the method used in fitting the model. The default method "\code{glm.fit.cons}" uses function {nnnpls} from package nnls instead of \code{lm.fit} to impose the sign of the coefficients. As in \code{glm}, the alternative method "\code{model.frame}" returns the model frame and does no fitting.}
       |                                                                                                          

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies scam car mgcv vegan geodist nnls glm2 pctax zetadiv

Version History

new 1.3.0 Mar 9, 2026