plotDiagnostics: Diagnostics plot

Description Usage Arguments Author(s) See Also Examples

View source: R/plotdiagnostics.R

Description

Function that plot diagnostic data from a madrat run and shows the network of function executions and distribution of time consumption

Usage

1
plotDiagnostics(filename, scale = "sqrt", cumulate_time = FALSE, png = NULL)

Arguments

filename

path to a diagnostics file as created with the setConfig argument diagnostics

scale

defines how time should scale the size of the vertices in the network. Available options are linear (lin), logarithmic (log) and square-root (sqrt).

cumulate_time

if set to TRUE the size of each node will reflect the cumulated execution time of the corresponding function (including the execution time of all underlying functions). If set to FALSE it will only show the net time spend in this function (excluding underlying functions).

png

png file name to save the plot as a png. If !NULL the function will wait until the interactive plot window will be closed and will then print the picture as it was in this window (still experimental!).

Author(s)

Jan Philipp Dietrich

See Also

toolstartmessage, setConfig

Examples

1
2
3
4
## Not run: 
plotDiagnostics("diagnostics.csv")

## End(Not run)

madrat documentation built on Dec. 25, 2019, 9:07 a.m.