linetran | R Documentation |
Response matrix of animals detected in four distance classes plus transect lengths and two covariates.
data(linetran)
A data frame with 12 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)
Length
Transect lengths in km
area
Numeric covariate
habitat
a factor with levels A
and B
data(linetran)
linetran
# Format for distsamp()
ltUMF <- with(linetran, {
unmarkedFrameDS(y = cbind(dc1, dc2, dc3, dc4),
siteCovs = data.frame(Length, area, habitat),
dist.breaks = c(0, 5, 10, 15, 20),
tlength = linetran$Length * 1000, survey = "line", unitsIn = "m")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.