Learn R Programming

TreeTools (version 1.12.0)

ApeTime: Read modification time from "ape" Nexus file

Description

ApeTime() reads the time that a tree written with "ape" was modified, based on the comment in the Nexus file.

Usage

ApeTime(filepath, format = "double")

Value

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

Arguments

filepath

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.