calcCumFrac: A function to generate cumulative germination fractions from...

View source: R/basic_functions.R

calcCumFracR Documentation

A function to generate cumulative germination fractions from raw seed counts.

Description

A function to generate cumulative germination fractions from raw seed counts.

Usage

calcCumFrac(
  data,
  trt.id = "TrtID",
  cum.time = "CumTime",
  n.total = "nTotal",
  n.germinated = "nGerminated"
)

Arguments

data

A dataset containing seed germination observations.

trt.id

Column name containing ids which reflect the individual treatments.

cum.time

Column name containing cumulative elapsted time.

n.total

Total number of seeds for the given treatment.

n.germinated

Column name containing total number of seeds germinated through the current time.

Value

a data frame with cumulative fractions generated from raw seed counts.

Examples

"foo"

pedrobello/pbtm documentation built on May 17, 2022, 3:37 a.m.