UpdateWtFile
takes a pair of spatial weight dataframes (e.g., data aand poly
dataframes as generated by ReadWtFile then subsetted using SubsetWts) and exports
them to a new model-ready spatial weight file.
1 | UpdateWtFile(wtFile, wtdataDf, wtpolyDf, subDim = TRUE)
|
wtFile |
Path to new spatial weight file to update. This should be a copy of an existing spatial weight file, as it will be overwritten |
wtdataDf |
Dataframe of the new grid-based (data) information to write to the new file |
wtpolyDf |
Dataframe of the new poly-based (poly) information to write to the new file |
subDim |
Boolean whether the dimensions in the new file need to be subsetted to match the new dataframe (DEFAULT=TRUE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.