CleanData: A Function to clean cumulative curves on dataset.

cleanDataR Documentation

A Function to clean cumulative curves on dataset.

Description

This function removes repetitive cumulative fractions/percentages, keeping only the initial presence of the value

Usage

cleanData(data, treatments = c("TrtID"), cum.frac = "CumFraction")

Arguments

data

A data frame object with the raw cumulative data that needs to be cleaned.

treatments

are the names of the treatment columns to separate the dataset. The time course cumulative curves will be grouped for each distinct treatment that should be informed here.

cum.frac

Column name for cumulative fraction germinated.

Value

A data frame with duplicate observations removed

Examples

"foo"

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