unnest_taxa.model_tbl: Unnest the taxa column of a 'model_tbl'

View source: R/model_tbl.R

unnest_taxa.model_tblR Documentation

Unnest the taxa column of a model_tbl

Description

In some cases it is convenient to expand the taxonomic specifications for each model contained in the taxa column. This function achieves this, and adds family, genus, and species character columns. Models with more than one taxon are replicated as new rows.

Usage

## S3 method for class 'model_tbl'
unnest_taxa(data)

Arguments

data

A model_tbl

Value

A model_tbl with family, genus and species columns attached


allometric documentation built on Nov. 8, 2023, 1:07 a.m.