Learn R Programming

dwp

Estimating the number of birds or bats killed at a wind power facility involves adjusting observed carcass counts to account for imperfect detection. To account for carcasses that lie outside the searched area, the count is adjusted by dividing by the estimated proportion of carcasses lying within the searched area or the density-weighted proportion (dwp). The dwp package provides tools for estimating dwp for use in mortality estimators such as GenEst (Dalthorp et al. 2018) and Evidence of Absense (Dalthorp et al. 2017).

DISCLAIMER

12345678901234567890123456789012345678901234567890123456789012345678901234567890 Version 1.0 of the software has been approved for release by the U.S. Geological Survey (USGS). Although the software has been subjected to rigorous review, the USGS reserves the right to update the software as needed pursuant to further analysis and review. No warranty, expressed or implied, is made by the USGS or the U.S. Government as to the functionality of the software and related material nor shall the fact of release constitute any such warranty. Furthermore, the software is released on condition that neither the USGS nor the U.S. Government shall be held liable for any damages resulting from its authorized or unauthorized use.

Minor modifications and bug fixes in subsequent versions have not reviewed by USGS.

Revisions:

v1.1 Method for estimating the area searched in each ring has been updated. The new method does not rely on gpclib::area.poly, which is no longer available on CRAN. It estimates the area searched in each ring by averaging the arc lengths of the intersections of the inner and outer ring boundaris with the search polygon.

Further Reading

dwp User Guide: Daniel Dalthorp, Manuela Huso, Mark Dalthorp, Jeff Mintz Accounting for the Fraction of Carcasses outside the Searched Area and the Estimation of Bird and Bat Fatalities at Wind Energy Facilities https://arxiv.org/abs/2201.10064

Dalthorp, D, Simonis, J, Madsen, L, Huso, M, Rabie, P, Mintz, J, Wolpert, R, Studyvin, J, and Korner-Nievergelt, F. 2018. R package. GenEst: Generalized Mortality Estimator. https://CRAN.R-project.org/package=GenEst

Dalthorp, D, Huso, M, Dail, D, and Kenyon, J. 2017. Evidence of Absence (v2.0) Software and user Guide. https://pubs.er.usgs.gov/publication/ds1055

Copy Link

Version

Install

install.packages('dwp')

Monthly Downloads

279

Version

1.1

License

CC0

Maintainer

Daniel Dalthorp

Last Published

July 1st, 2023

Functions in dwp (1.1)

cof_name

Names of the GLM Coefficients for Each Distribution
cof2parms

Convert GLM Coefficients into Named Distribution Parameters
ddFit

Fit Distance Distribution Model(s)
cofOK

Check Whether GLM Coefficients Give Proper Distribution
ddCI

Calculate CI for CDF, PDF, or quantile
ddSim

Simulation of Dispersion Parameters
ddd

Calculate Probability Functions for Distance Distributions
constraints

Constraints on GLM Coefficients for Extensibility to a Distribution
constraints_par

Constraints on Parameters to Assure Extensibility
estdwp

Estimate DWP
estpsi

Estimate Probability Carcass lands in Searched Area
dd2ddSim

Extract Parameters from a Distance Model (dd) and Format as ddSim Object
distr_names

Full List of Names of Distributions
ddPrint

Print S3 Objects in dwp Package
degOrder

An Ordering of the Models by Degree of the Polynomial
dwp

Density-Weighted Proportion
exportGenEst

Export Estimated Density-Weighted Proportion to File in Proper GenEst Format
exclude

Remove Particular Names from a Longer List
layout_eagle

Example Bare Vector Format for Eagle Data
initLayout

Create a Data Structure or Map for the Site Layout
getncarc

Simple Function to Extract Carcass Counts
off

Utility Function for Constructing Offsets for GLMs
parOK

Check Parameter Value Validity the Distribution
layout_polygon

Example Polygon Data for Site Layout
layout_xy

Example Data for Site Layout on an (x, y) Grid
natural

Vector of Names of Models with Natural Offset
parm_name

List of Names of the Distribution Parameters Associated with Respective Models
mod_all

Names of All the Available Models
incGamma

Incomplete Gamma Function
modelFilter

Run Models through a Sieve to Filter out Dubious Fits
mpp2ddSim

Convert Distribution Name + Parameters to ddSim Object
layout_simple

Example Simple Geometry Data Format for Site Layout
par_default

Default Graphics Parameters
sieve_default

Test Criteria for Model Selection
sieve_win

Test Criteria for Model Selection within Search Area
mod_xy

Vector of Names of Models Available for Grid Layout
xyr

Locations of All Carcasses in Grid Data
formatGenEst

Format DWP Estimate for Use in GenEst
fmmax

Find suitable mmax for clipping improper priors for M
postM

Calculate posterior distribution of M and extract statistics (M* and CI)
mod_offset

Vector of GLM Offsets for Available Models
readCarcass

Import Carcass Observations Locations from Shape Files
prepRing

Format a Search Layout into Rings for Analysis
mod_standard

Vector of Names of Standard Models
subset.shapeCarcass

Subset Data from an Imported and Formatted Shape File
rmat

Simple Utility Function Used in Optimizing the GLM
[.ddSim

Subset Simulated Dispersion Parameters while Preserving Attributes
mod_lty

Vector of Line Types Used in Graphs of Fitted Models
mod_color

Vector of Colors Used in Graphs of Fitted Models
prepmod

Internal Utility Function to Parse and Format Model for Calculating Psihat
stats

Display a Tables of Summary Statistics for Distance Distributions
psi_extend

Simple Extension of a dd Model beyond the Search Radius
[.ddArray

Subset a Set of Fitted Dispersion Models (ddArray)
carcass_simple0

Full, Simulated carcass_simple Data Set (Including Locations and Missed Carcasses)
MpriorOK

Check validity of format of custom prior for M
aic

Calculate Akaike Information Criterion (AICc) for Distance Distributions
Plot

Plot dd and ddArray Objects
Acins

Calculate Area of Intersection inside Circle and Square with Common Center
Distributions

Probability Distributions for Carcasses Versus Distance from Turbine
addCarcass

Add Carcasses to a Site Layout
carcass_polygon

Example Carcass Distances to Accompany the Polygon Layout Data Set
alt_names

Names of the Named Distributions
carcass_simple

Carcass Data to Accompany the Simple Geometry Data Format