PopEst: Looking at how Lincoln-Peterson and Seber methods give...

Description Usage Arguments Value Examples

Description

Gives the estimates and plots from two different methods of population estimate from MarkRecapture method.

Usage

1
PopEst(M, c, r)

Arguments

M

Marked individuals at the first trapping or initially

c

Total individuals captured in the second trapping

R

Marked recaptures in the second trapping

Value

Plots and estimates of population from Lincoln-Peterson and Seber methods

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# Putting the values in variables with their respective nubmers
c <- c(46, 72, 50, 79, 91, 55) # total samples
r <- c(1, 7, 8, 8, 10, 6)	# no. of marked ind. caught
M <- 54 # total marked ind. captured

# Using the custom function
PopEst(M, c, r)
PopEst(34, 24, 3) # for single survey

# A simple situation with population of 1000 with 88 marked and sample size 128
SimRecapt(1000, 88, 128)

# Save the recaptures and do a population estimation
N <- 300
M <- 72
c <- 50
iter <- 10
r <- SimRecapt(N, M, c, iter)
PopEst(M, c, r)

Ljeevan9211/SimJ documentation built on May 22, 2019, 5:37 p.m.