The pyp_reports Module

pyp_reports contains a set of procedures for ...

Module Contents

meanMetricBy(pedobj, metric='fa', byvar='by') ⇒ dictionary [#]

meanMetricBy() ...

pedobj
A PyPedal pedigree object.
metric
The variable to summarize on a BY variable.
byvar
The variable on which to group the metric.
Returns:
A dictionary containing means for the metric variable keyed to levels of the byvar.