Learn R Programming

UKFE (version 2.0.0)

DonAdj: Donor adjustment candidates

Description

Provides donor adjustment candidates, with associated descriptors, in order of the proximity to the centroid of the subject catchment.

Usage

DonAdj(CDs, N = 10, UrbMax = 1)

Value

A data.frame with rownames of site references and columns of catchment descriptors and distance from subject site.

Arguments

CDs

catchment descriptors derived from either GetCDs or CDsXML for the site of interest

N

number of sites provided; default is 10

UrbMax

a maximum value for URBEXT (the default is 0.03). Any sites with UBEXT2015 above UrbMax will not be included in the results.

Author

Anthony Hammond

Details

This function provides the closest N catchments for consideration for QMED donor adjustment.

Examples

Run this code
# Get some CDs and output candidate donor sites
cds_54022 <- GetCDs(54022)
DonAdj(cds_54022)



Run the code above in your browser using DataLab