hsi_transect_set_by: Transect Set By

View source: R/transect.R

hsi_transect_set_byR Documentation

Transect Set By

Description

Transect Set By

Usage

hsi_transect_set_by(
  x,
  distance = "Distance",
  habitat = "Habitat",
  by = hsi_by(x[[distance]])
)

Arguments

x

A vector of habitat values

distance

A string of the name of the column with distance values.

habitat

A string of the name of the column with habitat values.

by

A number of the increments.

Value

A HSI data.

Examples

hsi_transect_set_by(trans_data)

poissonconsulting/hsi documentation built on May 28, 2022, 5 a.m.