wideform: Wide format dataframe for RL_fetch() opt "habelev"

Description Usage Arguments Value Author(s)

View source: R/wideform.R

Description

Internal Function. Makes a wide format dataframe to output RL_fetch() into according to the Red List level2 habitats. The number of rows corresponds to the number of seasons coded by the Red List.

Usage

1
wideform(habs = redlistManipulatr::habitats, seas = redlistManipulatr::seasons)

Arguments

habs

Dataframe of Red List habitat categories. Taken from redlistManipulatr::habitats.

seas

Dataframe of Red List season codes Taken from redlistManipulatr::seasons.

Value

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

Author(s)

Matt Lewis, matthewlewis896@gmail.com


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