Description Usage Arguments Value Objects from the Class Slots Methods Author(s) See Also Examples
The ElapsedTime class represents a means of reporting elapsed time.
1 2 3 4 5 | ElapsedTime()
is.ElapsedTime(x)
## S4 method for signature 'ElapsedTime'
elapsed(object,
units=c("auto", "secs", "mins", "hours", "days"))
|
x |
object of class |
object |
object of class |
units |
string specifying desired unit of time |
The ElapsedTime generator returns an object of class
ElapsedTime.
The is.ElapsedTime method returns TRUE if its
argument is an object of class ElapsedTime.
Although objects of the class can be created by a direct call to
new, the preferred method is to use the
ElapsedTime generator function.
start:numeric scalar specifying the elapsed time
for the currently running R process (taken from
proc.time when created)
signature(object = "ElapsedTime"):
Returns object of class difftime representing elapsed time
difference between current time and the start slot value.
Units may be specified if desired; otherwise, the largest possible unit in which difference is greater than one will be chosen.
P. Roebuck proebuck@mdanderson.org
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.