diff --git a/src/formulaic_contrasts/_contrasts.py b/src/formulaic_contrasts/_contrasts.py index 85ff208..62a7db0 100644 --- a/src/formulaic_contrasts/_contrasts.py +++ b/src/formulaic_contrasts/_contrasts.py @@ -42,6 +42,8 @@ def cond(self, **kwargs): >>> contrast = model.cond(treatment="drugA") - model.cond(treatment="placebo") + For more information on how to build contrasts, see :doc:`/contrasts`. + Parameters ---------- **kwargs @@ -68,7 +70,7 @@ def cond(self, **kwargs): def contrast(self, column, baseline, group_to_compare): """ - Build a simple contrast for pairwise comparisons. + Build a simple contrast for pairwise comparisons of a single variable. For more complex contrasts, please use construct a contrast vector using :func:`~formulaic_contrasts.FormulaicContrasts.cond`.