batch.onepar: batch analysis to explore coexistence density for handling...

Description Usage Arguments Author(s) References See Also Examples

View source: R/coexist.R

Description

batch version of sta.comparison() function

Usage

1
batch.onepar(coexistlist, parameters)

Arguments

coexistlist

the basic statistics generated from batch.coexistence() function

parameters

a parameter sampling point vector,for example parameters=c(.2,.5,.9), indicating three sampling points in a single parameter. The function will thus compare the coexistence patch numbers under the cases when the parameter (for example, growth rate for species 1)=0.2,0.5 and 0.9 respectively.

Author(s)

Youhua Chen <yhchen@zoology.ubc.ca>

References

Chen YH (2012) coexist: an R package for performing species coexistence modeling and analysis under asymmetric dispersal and fluctuating source-sink dynamics. http://code.google.com/p/coexist.

See Also

sta.coexistence, batch.coexistence, sta.comparison

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (coexistlist, parameters = parspace) 
{
    scenarionum <- length(coexistlist)
    pairlist <- list()
    length(pairlist) <- scenarionum
    for (i in 1:scenarionum) {
        pairlist[[i]] <- sta.comparison(coexistlist[[i]], parameters = parameters)
    }
    return(pairlist)
  }

coexist documentation built on May 2, 2019, 1:43 p.m.