ApeTime: Read modification time from "ape" Nexus file

View source: R/parse_files.R

ApeTimeR Documentation

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")

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⁠.

Value

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

Author(s)

Martin R. Smith (martin.smith@durham.ac.uk)


TreeTools documentation built on Sept. 11, 2024, 8:27 p.m.