interpolate_ltt: Interpolate LTT for a given time sequence

View source: R/interpolate_ltt.R

interpolate_lttR Documentation

Interpolate LTT for a given time sequence

Description

Given a lineage-through-time table and a time sequence, this function evaluates the value of N at every time point in the sequence.

Usage

interpolate_ltt(ltt_tbl, t_seq)

Arguments

ltt_tbl

a tibble with columns time and N, e.g. the output of get_ltt_tbl().

t_seq

numeric vector, a sequence of time points.

Value

a tibble with columns time and N, where time corresponds to every time in t_seq

Author(s)

Theo Pannetier


TheoPannetier/comrad documentation built on April 8, 2023, 8:06 a.m.