generate.design.dp: Survey Design of Double Platform Method

Description Usage Arguments Details Value See Also Examples

Description

This function uses the data stored in the 'pars.design.dp´ object to create a new design object

Usage

1
        generate.design.dp(pars.des, seed = NULL)

Arguments

pars.des

An parameter object returned by the function setpars.design.dp

seed

the number passed to set.seed() to initialise random number generator

Details

A survey design of the double platform method is generated as design object. generate.design.dp works with the object 'pars.design.dp´ that was generated by the function setpars.design.dp. setpars.design.dp has to be run prior.

Value

generate.design.dp returns an object of class 'design.dp´ which has the following elements:

region

object of class 'region´

n.transects

number of transect paths

effective.n.transects

the effective number of transect paths

n.units

number of survey units

pos.x

vector of x-positions of the survey units

start.y

vector of starting y-positions of the survey units

end.y

vector of ending y-positions of the survey units

visual.range

visibility of both observers

percentage.on.effort

percentage of the transect lines that is searched

parents

Details of WiSP objects passed to function

created

Creation date and time

seed

Equal to the argument 'seed' passed to the function

See Also

setpars.design.dp, plot.design.dp

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
dp.reg <- generate.region(x.length = 100, y.width = 50)
dp.dens <- generate.density(dp.reg)

#heterogeneous population
dp.poppars<-setpars.population(density.pop = dp.dens, number.groups = 1000, size.method = "poisson",
                              size.min = 1, size.max = 30, size.mean = 10, exposure.method = "beta",
                              exposure.min = 0, exposure.max = 1, exposure.mean = 0.4,
                              exposure.shape = 0.5,type.values=c("Male","Female"), type.prob=c(0.48,0.52))
dp.pop<-generate.population(dp.poppars)

dp.despars<-setpars.design.dp(dp.reg, n.transects=10, n.units=10, visual.range=2, percent.on.effort=1)
dp.des<-generate.design.dp(dp.despars, seed=3)
summary(dp.des)

dill/wisp documentation built on May 15, 2019, 8:31 a.m.