observationType: observationType - Type of observations

View source: R/observationType.R

observationTypeR Documentation

observationType - Type of observations

Description

Return the type of observations (single or multiple observers) represented in either a fitted distance function or Rdistance data frame.

Usage

observationType(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 obsType attribute of the object's Rdistance data frame. If x is an Rdistance nested data frame, it polls the obsType attribute.

Value

One of the following values: "single", "1given2", "2given1", or "both". If observation type has not been assigned, return is NULL.


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