compact_grid: Compact smoothed stress field

View source: R/interpolation.R

compact_gridR 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)

tectonicr documentation built on Sept. 11, 2024, 6:05 p.m.