Skip to contents

Draws one labelled segment per treatment from (year_init, SOC_init) to (year_end, SOC_end), annotated with the number of years and the absolute/per-year delta. Requires the geomtextpath package.

Usage

f.graph.evol.soc(df.comp.res, by = id)

Arguments

df.comp.res

Output of f.table.compare.socmo.res() (op.simplify = TRUE).

by

Unquoted column of df.comp.res to color by (typically id).

Value

A ggplot object.