Description Usage Arguments Value Author(s) See Also Examples
View source: R/DiversityOccu.R
This function takes an batchoccupancy object and predicts occupancy for all species in new data, either a data.frame or a rasterstack.
1 | occupancy.predict(batch, new.data)
|
batch |
A result from the batchoccu |
new.data |
a rasterstack, or a dataframe containing the same variables as the siteCovs variable in batchoccu |
a raster stack with predictions for each species.
Derek Corcoran <derek.corcoran.barrios@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
#Load the data
data("IslandBirds")
data("Daily_Cov")
data("siteCov")
data("Birdstack")
BirdOccupancy <-batchoccu(pres = IslandBirds, sitecov = siteCov, obscov =
Daily_Cov, spp = 5, form = ~ Day + Wind + Rime + Noise + Clouds ~
Elev + AgroFo + SecVec + Wetland)
Occupancy.stack <- occupancy.predict(batch = BirdOccupancy, new.data =
Birdstack)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.