Usage
autoconst(x, prange = c(0, 1), twostep = TRUE, step1 = 0.1,
step2 = 0.01, plot = TRUE, nperp = 4, ejprob = NULL,
species.fixed = TRUE, pdfnb=FALSE)autoreg(x, probs, ejprob, plot = TRUE, nperp = 4, species.fixed = TRUE,
pdfnb=FALSE)
Arguments
x
object of class prab as generated by prabinit.
Presence-absence data to be analyzed.
prange
numerical range vector, lower value not smaller than 0, larger
value not larger than 1. Range where the parameter is to be found.
twostep
logical. If TRUE, a first estimation step is
carried out in the whole prange, and then the final
estimation is determined between the preliminary estimator
-5*step2 and {+5*step2}. Else, the first simulat
step1
numerical between 0 and 1. Interval length between
subsequent choices of pd for the first simulation.
step2
numerical between 0 and 1. Interval length between
subsequent choices of pd for the second simulation in case of
twostep=TRUE.
plot
logical. If TRUE, a scatterplot of pd-values
against resulting ejprob values (see below), with regression
line and data value of ejprob is shown.
nperp
integer. Number of simulations per pd-value.
ejprob
numerical between 0 and 1. Observed disjunction
probability for data x; if not specified in advance,
it will be computed by autoconst.
species.fixed
logical. If TRUE, sizes of generated
species match the species sizes in x, else they are generated
from the empirical distribution of species sizes in x.
probs
vector of numericals between 0 and 1. pd values
for the simulation.
pdfnb
logical. If TRUE, the probabilities of the regions
are modified according to the number of neighboring regions in
randpop.nb, see Hennig and Hausdorf (2002), p. 5.