Last data update: 2014.03.03

R: Creates a Detectablility object
make.detectabilityR Documentation

Creates a Detectablility object

Description

The detectability of the population is described by the values in this class.

Usage

make.detectability(key.function, scale.param, shape.param = numeric(0),
  covariates = character(0), cov.param = numeric(0), truncation)

Arguments

key.function

specifies shape of the detection function (either half-normal "hn" or hazard rate "hr")

scale.param

parameter value associated with the detection function

shape.param

parameter value associated with the detection function

covariates

not yet implemented

cov.param

not yet implemented

truncation

the maximum perpendicular (or radial) distance at which objects may be detected from a line (or point) transect.

Value

object of class Detectablility

Author(s)

Laura Marshall

Examples

detect <- make.detectability(key.function = "hn", scale.param = 15,
 truncation = 30) 

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(DSsim)
Loading required package: splancs
Loading required package: sp

Spatial Point Pattern Analysis Code in S-Plus
 
 Version 2 - Spatial and Space-Time analysis

Loading required package: mrds
This is mrds 2.1.14
Built: R 3.3.1; ; 2016-07-02 00:29:24 UTC; unix
Loading required package: mgcv
Loading required package: nlme
This is mgcv 1.8-12. For overview type 'help("mgcv-package")'.
Loading required package: shapefiles
Loading required package: foreign

Attaching package: 'shapefiles'

The following objects are masked from 'package:foreign':

    read.dbf, write.dbf

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/DSsim/make.detectability.Rd_%03d_medium.png", width=480, height=480)
> ### Name: make.detectability
> ### Title: Creates a Detectablility object
> ### Aliases: make.detectability
> 
> ### ** Examples
> 
> detect <- make.detectability(key.function = "hn", scale.param = 15,
+  truncation = 30) 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>