Description Usage Arguments Details Value Examples
normalize data coords
1 |
data |
frame with x and y components |
normalize data coordinates between 0 and 1 with different ratios for x and y
a normalized data frame
1 2 3 4 5 6 | nPoints=500
x=runif(nPoints, min=0, max=1)
y=runif(nPoints, min=0, max=1)
range(x) # not [0,1]
tabData=data.frame(x=x,y=y)
tabData=geozoning:::datanormXY(tabData) # x,y ranges are now [0,1]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.