Description Usage Arguments Note Author(s) References Examples
Creates a grid of the means for each zip code for a particular Dependent Variable (e.g., ’g’). Data that are in the same grid are averaged. Note that the larger the grid size, the more precise the results, but the time taken for this and subsequent calculations increase by the square of the grid dimensions. There is an ’average’ option which subtracts the overall weighted average from every cell. This functionally centers the data around that average. The alternative is to have all empty cells have the average.
1 |
df |
|
DV |
|
gridsize |
|
database |
|
average |
|
regions |
Please file bugs at https://github.com/frenchja/SAPATools/issues.
William Revelle <revelle@northwestern.edu> Maintainer: Jason A. French
https://sapa-project.org/r/
1 | # iq.grid <- sapa.grid(data=s.zip,DV='g',grid=300,average=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.