calcSpeed | R Documentation |
This function allows you to calculate the time to a desired cumulative fraction and respective germination rate. Use this function on raw data to avoid loss of points closer to the desired cumulative fraction.
calcSpeed( data, treatments = c("TrtID"), f = 0.5, cum.time = "CumTime", cum.frac = "CumFraction" )
data |
time course and cumulative dataset. Several treatments can be used at once as long as it respects the template and column names provided. A column with time in hours (CumTime) + a column with cumulative fractions (CumFraction) are required with at least one additional column for relevant treatment (e.g., germination temperature or water potential) |
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. These column names do not need to be informed in case the provided template file is used to organize the data. |
f |
A single value or vector of values from 0 to 1 used to calculate the time required for that level to be obtained in the cumulative time course. Default value is 0.5 (50 percent), to calculate the time to 50 percent germination (T50) and respective germination rate (GR50). |
cum.time |
is the column name in the dataset for cumulative time elapsed during the germination trial. |
cum.frac |
is the column name in the data for cumulative fraction germinated. |
A dataframe with germination speed and germination rate calculated from specified treatment columns.
"foo"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.