add_zeros: add_zeros

View source: R/gen_bin-helpers.R

add_zerosR Documentation

add_zeros

Description

This function adds 0's for the depth bins which don't have any present taxa Will return a new data frame

Usage

add_zeros(df, col_name)

Arguments

df

a data frame - should be in tidy format from bin_taxa

col_name

a column to add 0s for

Author(s)

Alex Barth


TheAlexBarth/EcotaxaTools documentation built on Nov. 14, 2024, 8:27 p.m.