tidy_dataset_list: Tidy a list of abundance data into a data.frame

View source: R/tidy-abundance.R

tidy_dataset_listR Documentation

Tidy a list of abundance data into a data.frame

Description

This function processes data from the output of bwg_get("matrix"). It runs several smaller functions that convert a list of nested datasets into a tidy data frame. The function assumes that the input is a list of datasets, and it heavily utilizes the purrr package for mapping and iterating over the data.

Usage

tidy_dataset_list(matrix_data_list)

Arguments

matrix_data_list

A list of datasets containing abundance data. Each dataset is assumed to have measurements related to various species and their respective bromeliad abundances.

Value

A tidy data.frame where each row represents an individual observation of abundance data, with columns representing species, measurements, and dataset metadata.


SrivastavaLab/bwgdata documentation built on June 10, 2025, 7:09 a.m.