NOT YET IMPLEMENTED This function scales the size of sf features, by either linear or areal amounts.

scale(x, scale = 1, method = "area")

Arguments

x

An sf object, already processed with `converge`, to be transformed in scale; REQUIRED.

scale

Scaling factor to be used, either a single numeric or a vector of numeric scales of equal length to number of features in x; default=1.

method

Method of scaling: "area", "width", "height", "maxlinear"; default="area".

Value

An sf object containing one or more features (with no defined CRS)

Details

Features should have first been converged into a single comparable scale, using the `converge` function, and usually normalized in area or linear dimensions using `normalize`.

See also