transform_to_proportions()

transform_to_proportions R Documentation

Transform to Proportions

Description

Transforms pollen count data into proportions based on total pollen count.

Usage

transform_to_proportions(data = NULL, pollen_sum = NULL)

Arguments

data

A data frame containing pollen count data.

pollen_sum

A data frame with total pollen counts for each sample.

Details

Joins the input data with total pollen counts and calculates proportions using ‘dplyr::mutate’.

Value

A data frame with pollen proportions, excluding ‘pollen_sum’ and ‘pollen_count’ columns.

Back to top