augment.lfq_fit: Augment data with fitted values from an lfq_fit object

View source: R/methods-tidy.R

augment.lfq_fitR Documentation

Augment data with fitted values from an lfq_fit object

Description

Augment data with fitted values from an lfq_fit object

Usage

augment.lfq_fit(x, ...)

Arguments

x

An lfq_fit object.

...

Ignored.

Value

A tibble with columns: .date, .lineage, .fitted_freq, .observed, .pearson_resid.

Examples

sim <- simulate_dynamics(n_lineages = 3,
  advantages = c("A" = 1.2, "B" = 0.8), seed = 1)
fit <- fit_model(sim)
augment.lfq_fit(fit)


lineagefreq documentation built on April 3, 2026, 9:09 a.m.