seconds | R Documentation |
A convenience function to convert arbitrary numbers of days, hours, minutes, and/or seconds into seconds.
seconds(days = NULL, hours = NULL, minutes = NULL, seconds = NULL)
days |
An optional number of days. |
hours |
An optional number of hours. |
minutes |
An optional number of minutes. |
seconds |
An optional number of seconds. |
A convenience function to convert arbitrary numbers of days, hours, minutes,
and/or seconds into seconds. For example, to be used in setting a HIT
expiration time. MTurk only accepts times (e.g., for HIT expirations, or the
duration of assignments) in seconds. This function returns an integer value
equal to the number of seconds of the input, and can be used atomically
within other MTurkR calls (e.g., CreateHIT
).
An integer equal to the requested amount of time in seconds.
Thomas J. Leeper
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.