preemption.t: Preemption t test

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/preemption.t.R

Description

Function preemption.t implements a t test for comparing the preemption parameters of the geometric series for two samples.

Usage

1
preemption.t(x1, x2, verbose = TRUE)

Arguments

x1

Species counts for the first sample

x2

Species counts for the second sample

verbose

The function is silent if verbose=FALSE or prints results if verbose=TRUE

Value

Tstat

The t statistic

df

The degrees of freedom

pval

The p-value of the test

Author(s)

Jan Graffelman (jan.graffelman@upc.edu)

References

Graffelman, J. (2021) Maximum likelihood estimation of the geometric niche preemption model

See Also

preemption.fit

Examples

1
2
3
4
data(Mehrabi)
x <- sort(Mehrabi[,1],decreasing=TRUE)
y <- sort(Mehrabi[,2],decreasing=TRUE)
results <- preemption.t(x,y)

MLpreemption documentation built on Feb. 11, 2021, 5:07 p.m.