Jo.plots | R Documentation |
Plots the null model and joint occupancy decline with order (number of species) and fits the decline to exponential, power law and exponential-power law parametric models, respectively.
Jo.plots(jo_Obj)
jo_Obj |
A joint occupancy model object returned by the function Jo.eng. |
This function provides a visualization of the forms of joint occupancy decline and null model test. It offers information on:
the outcomes of the null model test (through the appended archetype value on (e) plot) and
the comparisons between the forms of joint occupancy decline (through
the affixed AIC
and rsq
values on (b), (c) and (d) plots,
respectively).
Produces a figure consisting of the following plots:
(a) |
Joint occupancy decline. |
(b) |
Exponential regression of the joint occupancy decline. |
(c) |
Power law regression of the joint occupancy decline. |
(d) |
Exponential-power law regression of the joint occupancy decline. |
(e) |
Null model test. |
Lagat, V. K., Latombe, G. and Hui, C. (2021a). A multi-species co-occurrence
index to avoid type II errors in null model testing. DOI: <To be added>
.
## Not run:
ex.data <- read.csv(system.file("extdata", "274.csv", package = "msco"))
jo_Obj <- msco::Jo.eng(ex.data, nReps = 999, All.plots = TRUE, s.dplot = FALSE, dig = 3)
jplots <- msco::Jo.plots(jo_Obj)
jplots
ex.data2 <- read.csv(system.file("extdata", "22.csv", package = "msco"))
jo_Obj2 <- msco::Jo.eng(ex.data2, nReps = 999, All.plots = TRUE, s.dplot = FALSE, dig = 3)
jplots2 <- msco::Jo.plots(jo_Obj2)
jplots2
ex.data3 <- read.csv(system.file("extdata", "78.csv", package = "msco"))
jo_Obj3 <- msco::Jo.eng(ex.data3, nReps = 999, All.plots = TRUE, s.dplot = FALSE, dig = 3)
jplots3 <- msco::Jo.plots(jo_Obj3)
jplots3
ex.data4 <- read.csv(system.file("extdata", "65.csv", package = "msco"))
jo_Obj4 <- msco::Jo.eng(ex.data4, nReps = 999, All.plots = TRUE, s.dplot = FALSE, dig = 3)
jplots4 <- msco::Jo.plots(jo_Obj4)
jplots4
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.