profile_of_parameter: Parameter values along a profile line

View source: R/profile_of_parameter.R

profile_of_parameterR Documentation

Parameter values along a profile line

Description

This function calculates the profile of a raster object along a segmented profile line.

Usage

profile_of_parameter(rastered_param, profile_points)

Arguments

rastered_param

raster stack of the parameter values and the bootstrap confidence interval

profile_points

sfc-object including the profile line as points and the distance on the profile line

Value

values of the given parameter along a profile line

Examples

profile_of_parameter(
  raster_param(mro2D, "s", "all"),
  profile_points(profile_line(c(0, 0), c(1, 1), crs = "ESRI:54009"))
)


SaskiaSchirmer/CONSURE documentation built on Sept. 3, 2023, 8:52 a.m.