knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "75%" )
GenestDwp helps to obtain the dwp (density weighted proportion) file required to run GenEst. It will work with the shapefiles for visibility map around each turbine and the carcass locations. Both layers will tipically be obtained from GIS. Visit the package website
This software is preliminary or provisional. No warranty, expressed or implied, is made by the mantainer. Software releases constitute no warranty. The software is provided as is on the condition that the mantainer shall not be held liable or responsible for any damages resulting from the authorized or unauthorized use of the software.
GenEst is a generalized, unbiased, fatality estimator developed by USGS. Additional information and details available from the software User Guide, the package repository , and the technical report. The material from a USGS "Into to GenEst" workshop is also available here.
You can install the released version of genestdwp from Github with:
library(devtools) install_github("pecard/genestdwp")
You are welcome to contribute to the package development and improvment by filling an issue at the package webpage.
Run a basic example with the provided data:
library(genestdwp) library(sf) library(tidyverse) # Vector of distances dist = c(10, 20, 30, 40, 50) # assumming meters # Spatial join among visibility map and rings rings <- viring(x=visib, d = dist) # Carcasses pto_carcass # Get DWP dfdwp <- dwp(vr = rings, pt = pto_carcass) dfdwp # Plot some data together ggplot() + geom_sf(aes(fill = factor(dist)), colour = 'grey80', size = .1, data = filter(rings, ag == 1)) + geom_sf(data = filter(pto_carcass, ag == 1), size = 4) + scale_fill_brewer('Dist (m)') + theme_void()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.