hsi_transect_to_sample: Transect to Sample

View source: R/transect.R

hsi_transect_to_sampleR Documentation

Transect to Sample

Description

Transect to Sample

Usage

hsi_transect_to_sample(x, distance = "Distance", habitat = "Habitat", n = 10^6)

Arguments

x

A data frame.

distance

A string of the column name with transect distance values.

habitat

A string of the column name with habitat values.

n

A count of the number of samples to take.

Value

A vector of samples.

Examples

hsi_transect_to_sample(trans_data, n = 10)

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