timeTaken

0th

Percentile

Extract the Total Computation Time

Given an object or objects that contain timing information (reporting the amount of computer time taken to compute each object), this function extracts the timing data and evaluates the total time taken.

Keywords
utilities
Usage
timeTaken(..., warn=TRUE)
Arguments

One or more objects of class "timed" containing timing data.

warn

Logical value indicating whether a warning should be issued if some of the arguments do not contain timing information.

Details

An object of class "timed" contains information on the amount of computer time that was taken to compute the object. See timed.

This function extracts the timing information from one or more such objects, and calculates the total time.

Value

An object inheriting the class "timed".

See Also

timed

Aliases
  • timeTaken
Examples
# NOT RUN {
  A <- timed(Kest(cells))
  B <- timed(Gest(cells))
  A
  B
  timeTaken(A,B)
# }
Documentation reproduced from package spatstat, version 1.55-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.