PadData: Add NA for missing species

Description Usage Arguments Value

Description

Add NA for missing species

Usage

1
PadData(data, taxa, strict = FALSE)

Arguments

data

A data.frame: first column species, remaining columns trait data

taxa

A list of species that should be in the final data.frame. Missing ones will be added

strict

If TRUE, only species listed in taxa will be in output. Otherwise, species will be added but not deleted

Value

A data.frame: first column species, remaining columns trait data, with NA for some taxa


bomeara/biosense documentation built on May 12, 2019, 11:34 p.m.