View source: R/basic_functions.R
mergeTrts | R Documentation |
A function to regenerate cumulative fractions by merging treatments.
mergeTrts( data, keep.trts, trt.id = "TrtID", cum.time = "CumTime", cum.frac = "CumFraction" )
data |
A data frame object with the raw cumulative data that needs to be cleaned. |
keep.trts |
One or more treatments to keep from the original set of treatments. |
trt.id |
The column specifying the original set of treatments used to generate the cumulative fractions. |
cum.time |
Column name for the cumulative time data. |
cum.frac |
Column name for the cumulative fraction germinated. |
A data frame with new cumulative fraction values.
"foo"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.