const_hab: Extract More Constant Habitat Areas

View source: R/const_hab.R

const_habR Documentation

Extract More Constant Habitat Areas

Description

Returns only observations where the habitat classes were the same as their previous and subsequent observations. Useful for training algorithmns b/c reduces effect of positional uncertainty. Will return a dataframe if a dataframe is input. Will return a tibble if a tibble is input.

Usage

const_hab(my_data, hab_col)

Arguments

my_data

a tibble, dataframe, or spatial dataframe containing all data

hab_col

number or name specifying the column to check


ailich/mytools documentation built on Jan. 7, 2023, 11:16 a.m.