Learn R Programming

TreeTools (version 0.1.4)

ApeTime: Ape Time

Description

Reads the time that an ape tree was modified from the comment in the Nexus file.

Usage

ApeTime(filename, format = "double")

Arguments

filename

Character string specifying path to the file

format

Format in which to return the time: 'double' as a sortable numeric; any other value to return a string in the format YYYY-MM-DD hh:mm:ss

Value

ApeTime returns the time that the specified file was created by ape, in the format specified by format.