pointtran.Rd
Response matrix of animals detected in five distance classes plus two covariates.
data(pointtran)
A data frame with 30 observations on the following 7 variables.
dc1
Counts in distance class 1 [0-5 m)
dc2
Counts in distance class 2 [5-10 m)
dc3
Counts in distance class 3 [10-15 m)
dc4
Counts in distance class 4 [15-20 m)
dc5
Counts in distance class 5 [20-25 m)
area
a numeric vector
habitat
a factor with levels A
B
C
data(pointtran)
pointtran
#> dc1 dc2 dc3 dc4 dc5 area habitat
#> 1 0 1 0 0 0 7.100135 A
#> 2 0 0 1 0 1 4.039711 A
#> 3 2 1 2 0 0 5.821971 A
#> 4 0 1 4 1 0 6.342220 A
#> 5 0 1 1 1 1 5.253868 A
#> 6 0 5 0 3 0 5.424741 A
#> 7 1 1 4 1 0 3.847850 A
#> [ reached 'max' / getOption("max.print") -- omitted 23 rows ]
# Format for distsamp()
ptUMF <- with(pointtran, {
unmarkedFrameDS(y = cbind(dc1, dc2, dc3, dc4, dc5),
siteCovs = data.frame(area, habitat),
dist.breaks = seq(0, 25, by=5), survey = "point", unitsIn = "m")
})