Retrieves data for all individual metrics for a single subject.

get_metrics(subject, metrics, days = "all")

Arguments

subject

The name of the subject for which the data is to be retrieved.

metrics

A colonytrack_metrics object, as returned by calculate_metrics.

days

Specify the days for which metrics should be retrieved. This may be in any of the standard formats (names, indices, or a logical vector). Default is to include all days present in the metrics object.

Value

Returns a matrix with days/nights as rows and metrics as columns.