RL_recode_seasons: Recode NA seasons to Resident

Description Usage Arguments Value Author(s)

View source: R/RL_recode_seasons.R

Description

Recodes seasons coded on the Red List as NA (and pulled down by RL_fetch() as 999) to Resident (1).

Usage

1
RL_recode_seasons(x, combine.rows = FALSE)

Arguments

x

A wide format dataframe with one column per habitat category. As output by RL_fetch().

combine.rows

(optional) Logical. If a species ends up with multiple rows for a season due to recoding, should these rows be combined? If TRUE selects the highest ranked suitability-major importance combination. See suitability_ordered.Defaults to FALSE.

Value

A dataframe in wide format (one column per habitat type).

Author(s)

Matt Lewis, matthewlewis896@gmail.com


matthewlewis896/redlistManipulatr documentation built on Jan. 22, 2022, 1:01 p.m.