toLongDate: Converts short (old) 'z-Tree' dates into long (new) 'z-Tree'...

Description Usage Arguments Value Author(s) References Examples

Description

Old versions of 'z-Tree' stored dates as, e.g. 050613JN (the first six being year-month-date, the last two characters are the time). Newer versions use strings like 091112_1600 (time is now in the last four characters). This function converts the old format into the new format

Usage

1
toLongDate(shortDate)

Arguments

shortDate

This should be a vector of strings, each of length 8 characters. The first six characters of each element of shortDate are year, month, date. The last two chacters encode the time of the experiment.

Value

A vector of the same length as shortDate. The first six characters of each element are unchanged. The last five characters are now the time translated.

Author(s)

Oliver Kirchkamp

References

Urs Fischbacher. "z-Tree Manual 2.1 Experimenter's Manual". Zurich. 2002.

Examples

1
toLongDate("091112JN")

kirchkamp/zTree documentation built on May 20, 2019, 10:23 a.m.