Description Usage Arguments Value Author(s) Examples
merges a Date m/dd/yyyy or mm/dd/yyyy column with a Time h:mm:ss or hh:mm:ss (24h) column to create a TS (Timestamp) Column (m)m/dd/yyyy h:mm (24h)
1 |
dataset |
A dataframe with columns of time of date and time (24hr) information. |
Date |
[optional, "Date" is the dafault] column that has date information. |
Time |
[optional, "Time" is the dafault] column that has time information. |
The orginal dataframe with an additional column "TS"
J. Dustin Tracy <jtracy2@student.gsu.edu>, Zhiyi Xu, Leena Choi, Sari Acra, Kong Y. Chen, Maciej S. Buchowski
1 2 3 4 5 6 7 8 9 | data(zPhysActBedRest)
## Example 1:
## wa_tp5788 = read.csv("wa_tp5788.csv")
wa_tp5788_ts = timestamp(wa_tp5788)
## Example 2:
## wr_tp5788_cc = read.csv("wr_tp5788_cc.csv")
wr_tp5788_ts = timestamp(wr_tp5788_cc, Time="clock", Date="calendar")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.