Bins the observed data by plot_by (see er_vpc()) and computes its
response summary (rate/mean + confidence interval, plus empirical
percentiles for a continuous/count response), for later comparison
against a simulated layer added via er_vpc_add_simulated().
Arguments
- object
Partially constructed VPC (has S3 class
er_vpc).- style
A function determining how the observed layer is drawn; see
er_style_vpc_observed().- ...
Additional named arguments forwarded to
style.
Details
plot_by/n_bins/conf_level/probs are set once on
er_vpc() itself (rather than here) so the observed and simulated
layers can't disagree about how the comparison is binned or
summarized.