SubsetWts: Subset spatial weight file based on combination of link IDs...

Description Usage Arguments Value

View source: R/udmap_utils.R

Description

SubsetWts takes a weight file object (as read in from ReadWtFile) and subsets the data and poly dataframes based on a user-defined set of link IDs and user-defined start and end indices. Returns a list of 2 dataframes for the subsetted data and poly objects.

Usage

1
SubsetWts(wts, rlids, istart, iend, jstart, jend)

Arguments

wts

Weight file list object (output from ReadWtFile)

rlids

Vector of link IDs to keep in the subsetted output

istart

Start index for the grid in the i (x) direction

iend

End index for the grid in the i (x) direction

jstart

Start index for the grid in the j (y) direction

jend

End index for the grid in the j (y) direction

Value

List of 2 dataframes


mccreigh/rwrfhydro documentation built on Feb. 28, 2021, 1:53 p.m.