Learn R Programming

vanddraabe (version 1.1.1)

TimeSpan: Time Span

Description

Calculate the duration of a set of calculations.

Usage

TimeSpan(time.start)

Arguments

time.start

The start time determined using the base::Sys.time()

Value

character string of the calculation duration

Details

Using the time a set of calculations started, the duration of the calculations is returned.

NOTE: This is a non-public function.

See Also

Other utilities: ConservationSet, DetermineChainsOfInterest, ExtractFileTimeStamp, ExtractPDBids, FileTimeStamp, HasXWaters, Nearby, ProtHetWatIndices, RescaleValues, RetainChainsOfInterest, ReturnPDBfullPath, StandardizeAsparticAcidNames, StandardizeCysteineNames, StandardizeGlutamicAcidNames, StandardizeHistidineNames, StandardizeLysineNames, UniqueAtomHashes, aaStandardizeNames, getAtomTypeCounts, getResTypeCounts, res2xyz, resAtomType2AtomClass, write.basic.pdb, write.conservedWaters.pdb

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
  time.start <- Sys.time() - 25   ## subtract 25 seconds from time.start
  TimeSpan(time.start)
  # [1] "00:00:25"
  
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab