Description Usage Arguments Value
View source: R/DataTruncation.R
DataTruncation() is a function used with the purpose to truncate the data at a specific time in according to the density time grid and the growth curves plot.
1 2 | DataTruncation(alldata, feature, truncTime = NULL, save = FALSE,
path = NULL)
|
alldata |
A list with 4 arguments : the DataStruncture() output list. |
feature |
A character string for a target file feature name to investigate across curves. |
truncTime |
An integer corresponding to the time at which truncate the curves. (TimeGridDensity() output suggests suitable candidates). |
save |
A logical value. If "save" equals TRUE truncated growth curves plot is saved in a pdf file (the default is FALSE). |
path |
A character string for saving plot path folder .If "save" is TRUE and "path" is missing, the plot is saved in the current directory. |
The growth curves plot with a bar at the truncation time and a list with 4 arguments: a data frame with 3 variables (ID curves, volume and time values truncated at the truncation time), a vector for truncated curves lengths,a data frame with curves labeled according to target file feature chosen and a vector for overall truncated time grid. If "save" equals TRUE, a pdf file containing the plot is returned too.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.