Compute per-group means and 95% CI bounds
group_summary.RdFor each group, computes the mean x/y position and a rectangular 95%
confidence interval using t(df = n-1, 0.975) * SE on each axis
independently. This matches the CI convention used by rENA / Web ENA.
Arguments
- pts
A
data.framewith at least the columns named byx_col,y_col, andgroup_col.- x_col
Name of the x-coordinate column.
- y_col
Name of the y-coordinate column.
- group_col
Name of the grouping column.
- conf_level
Confidence level for the t interval. Default 0.95.
- outlier
Also add
<dim>.olow/<dim>.ohighoutlier bounds (Q1 − 1.5·IQR, Q3 + 1.5·IQR). DefaultFALSE.