wrap_profile_of_param: Parameter values along a profile line

View source: R/wrap_profile_of_param.R

wrap_profile_of_paramR Documentation

Parameter values along a profile line

Description

This function creates a linear profile line between two points, segmentizes it into points and calculates the distance between the segments. It is a wrapper function around all necessary steps. To customize this procedure, use the functions inside.

Usage

wrap_profile_of_param(
  coord_start,
  coord_end,
  mark_recapture_object,
  param,
  b = "all"
)

Arguments

coord_start

coordinates of the starting point of the line as longitude/latitude. E.g., c(0,0).

coord_end

coordinates of the end point of the line as longitude/latitude. E.g., c(0,0).

mark_recapture_object

object of class mark_recapture_object (see mark_recapture_object())

param

name of the parameter

b

name of origin. Defaults to "all".

Value

values of the given parameter along a profile line

Examples

wrap_profile_of_param(c(0, 0), c(1, 1), mro2D, "s")


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