## Not run:
# data("IslandBirds")
# data("Daily_Cov")
# data("siteCov")
# BirdOccupancy <-batchoccu(pres = IslandBirds, sitecov = siteCov, obscov =
# Daily_Cov, spp = 5, form = ~ Day + Wind + Rain + Noise + Clouds ~
# Elev + AgroFo + SecVec + Wetland)
# #plot the response of occupancy to individual variables for species 4 and 5
#
# responseplot.occu(batch = BirdOccupancy, spp = 4, variable = Elev)
#
# responseplot.occu(batch = BirdOccupancy, spp = 5, variable = Elev)
# ## End(Not run)
#Dredge for all species
BirdOccupancy2 <- batchoccu(pres = IslandBirds, sitecov = siteCov, obscov =
Daily_Cov, spp = 5, form = ~ 1 ~
Elev + AgroFo, dredge = TRUE)
Run the code above in your browser using DataLab