This function creates a grid of centroids of size nx*ny, then creates square boundaries centered on each centroid, and finally creates subsets of data based on inclusion in each window.
1 2 3 | ## S3 method for class 'data.overlap'
split(data1, data2, nx, ny, overlap = 0.6,
squeeze = 10)
|
data1 |
three column data set 1 |
data2 |
three column data set 2 |
nx |
number of centroids in the x dimension |
ny |
number of centroids in the y dimension |
overlap |
a positive real number indicating how much overlap among adjacent windows |
squeeze |
a positve real number which sets the inset of the outermost centroids |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.