Skip to contents

Draws one vertical arrow per treatment from SOC_init to SOC_end, colored by the sign of the change (gain vs. loss) – a compact alternative reading of the same data as f.graph.evol.soc().

Usage

f.graph.variation(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 use on the x-axis (typically id).

Value

A ggplot object.