compact_grid {tectonicr}R Documentation

Compact smoothed stress field

Description

Filter smoothed stress field containing a range of search radii or kernel half widths to find smallest wavelength (R) with the least circular sd. or dispersion for each coordinate, respectively.

Usage

compact_grid(x, type = c("stress", "dispersion"))

Arguments

x

output of stress2grid(), PoR_stress2grid(), or kernel_dispersion()

type

character. Type of the grid x. Either "stress" (when input is stress2grid() or PoR_stress2grid()) or "dispersion" (when input is kernel_dispersion()).

Value

sf object

See Also

stress2grid(), PoR_stress2grid(), kernel_dispersion()

Examples

data("san_andreas")
res <- stress2grid(san_andreas)
compact_grid(res)

[Package tectonicr version 0.3.2 Index]