| tic_auc | R Documentation |
This function returns area under curve from raw time intensity curves using the trapezoid method. It is recommended that plotresult is set to TRUE in the first instance to visually confirm the analysis.
tic_auc(data, timevar, intensityvar, AUCmax = NULL, plotresult = FALSE)
data |
A dataframe with time and intensity values as columns. |
timevar |
A character string (in quotes) with the dataframe column name for the time variable. |
intensityvar |
A character string (in quotes) with dataframe column name for the intensity variable. |
AUCmax |
A number - the maximum time that area under the curve is measured until. |
plotresult |
TRUE or FALSE to determine whether a plot of the results is generated. |
A plot of the data is generated and a dataframe with the results is returned.
Area under the curve. Depending on the plotresult argument can also return a plot of the raw data.
# Example usage: Please see package vignettes on CRAN
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.