transectType: transectType - Type of transects

View source: R/transectType.R

transectTypeR Documentation

transectType - Type of transects

Description

Return the type of transects represented in either a fitted distance function or Rdistance data frame.

Usage

transectType(x)

Arguments

x

Either an estimated distance function, output by dfuncEstim, or an Rdistance nested data frame, output by RdistDf.

Details

This function is a simple helper function. If x is an estimated distance object, it polls the transType attribute of x's Rdistance nested data frame. If x is an Rdistance nested data frame, it polls the transType attribute.

Value

A scalar. Either 'line' if x contains continuous line-transect detections, or 'point' if x contains point-transects detections. If transect type has not been assigned, return is NULL.


tmcd82070/Rdistance documentation built on April 13, 2025, 1:38 p.m.