align: align

View source: R/align.R

alignR Documentation

align

Description

NOT YET IMPLEMENTED This function aligns simple features spatially by bounding box or centroid values. Bounding box alignment or justification types include: top, bottom, left, right, vcentre, hcentre. Centroid alignment include: vcentroid, hcentroid, centroid

Usage

align(x, method = "centroid")

Arguments

x

An sf object, already processed with 'converge', to be transformed in alignment; REQUIRED.

method

Method used to align "top", "bottom", "left", "right"; "vcentroid", "hcentroid", "centroid"; default="centroid".

Details

To visually distribute the resulting features, use the 'distribute' function.

Value

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

See Also

converge, normalize, scale, distribute


tcwilkinson/morphogram documentation built on Nov. 20, 2022, 3:45 a.m.