HowOld: HowOld

Description Usage Arguments Value Examples

View source: R/HowOld.R

Description

Calculates the age that each dolphin in a dataframe is at the date supplied in a corresponding vector of dates.

Usage

1
HowOld(Your_Data, Your_Dates, Age = "Days")

Arguments

Your_Data

The data for the individuals of interest, in Life History data-format

Your_Dates

A vector of dates the same length as Your_Data, where each value corresponds to one row of Your_Data

Age

Specify whether you want the output ages in "Days" (age in days) or "Years" (age in years). Default is Days.

Value

Vector of each individual's ages, where each value corresponds to one row of Your_Data

Examples

1
HowOld(Your_Data, Your_Dates, Age = "Years")

erj22/FlippR documentation built on Jan. 1, 2021, 1:09 a.m.