lstExtractTime {NMdata} | R Documentation |
Extract run time from output control stream
lstExtractTime(file, tz.lst = "as.is")
file |
path to output control stream |
tz.lst |
The time zone of the time stamp from Nonmem. The default ("as.is") is to try to extract it or take it from the system on which this function is run. See details. |
Time zones are system specific. See OlsonNames()
for a list of what time zones are available on the system.
A POSIXct date-time object
file <- system.file("examples/nonmem/xgxr003.lst",package="NMdata")
NMdata:::lstExtractTime(file)
file <- system.file("examples/nonmem/xgxr003.mod",package="NMdata")
NMdata:::lstExtractTime(file)
## Not run:
all.lsts <- list.files(
system.file("examples/nonmem",package="NMdata"),
pattern="\\.lst",full.names=TRUE)
lapply(all.lsts,NMdata:::lstExtractTime)
## End(Not run)