Description Usage Arguments Note Author(s) References Examples
Although not necessary for graphics, smoothing the data makes an overall more pleasing map. The smooth function takes a normal “kernel” and applies it to every cell. That is, nearby cells are weighted as a function of the density of the normal curve. The default value of 9 means that the kernel is a 9 x 9 grid. Each grid step is taken to be half a sd of the normal curve. The miss parameter specifies how much to weight cells with no observations. By increasing the weight, we are increasing the tendency to plot average values for missing cells.
1 | sapa.smooth(grid, size = 11, miss = 0.05, w = NULL)
|
grid |
|
size |
|
miss |
|
w |
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.smooth <- sapa.smooth(iq.grid,size=11,miss=.05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.