vegetation | R Documentation |
A shapefile of vegetation data
vegetation
A shapefile of vegetation in Big Cypress National Preserve and Everglades National Park
tbd
tbd
vegetation types (e.g., Coastal Forest, Brazilian Pepper/HID, Shrub etc.)
tbd
tbd
tbd
tbd
Ranges between 1 and 5, where 1 represents low fire and 5 represents high fire risk
## Not run: summary(vegetation) plyr::ddply(vegetation, ("Veg_Cat"), plyr::summarise, type = head(FuelType, 1)) ### code used to generate object using shapefile provided by NCSU vegetation <- sf::st_read("CLC_Veg_exotic_Final_Updated_EDEN_py.shp") vegetation$FuelType <- dplyr::revalue(vegetation$Veg_Cat, c("NA"=1, "Coastal Forest"=2, "Brazilian Pepper/HID" = 2, "Shrub"=2, "Hammock/Tree Island"=3, "Short Sparse Grass"=3, "Pine Savannah"=4, "Short Continuous Grass"=4, "Pine Forest"=5, "Tall Continuous Grass"=5)) vegetation_reclass <- vegetation[, c("Veg_Cat", "FuelType")] sf::st_write(vegetation_reclass, "analysis/outcomes/vegReclass.shp", delete_layer = TRUE) vegetation <- sf::st_transform(vegetation, sf::st_crs(fireHydro::edenDEM)) save(vegetation, file = "data/vegetation.RData") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.