normalize | R Documentation |
NOT YET IMPLEMENTED This function normalizes the scale of sf features, normally polygons. By default the scaled parameter is the polygon *area*, so that each feature has an area of 'scale' m2, whatever the actual shape of the polygon.
normalize(x, target = 1, method = "area")
x |
An sf object, already processed with 'converge', to be transformed to normalized scale; REQUIRED. |
target |
Target value to be normalized to, usually a single numeric, but can also be a vector of numeric target values of equal length to number of features in x; value meaning depends on method, e.g. square metres for areal, or metres for linear methods; default=1. |
method |
Method of scaling: "area", "width", "height", "maxlinear"; default="area". |
Features should have first been converged into a single comparable scale, using the 'converge' function.
An sf object containing one or more features (with no defined CRS)
converge
, align
, normalize
, scale
, distribute
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.