powered by
Computes the callback count statistics from the paired data sets.
stat_count(x)
A list with class "stat_count" containing two data frames: counts and props.
"stat_count"
counts: a data frame with the callback counts.
counts:
tests: number of tests.
callback: number of tests with at least one callback for either candidate.
callback1: number of callbacks for candidate 1.
callback2: number of callbacks for candidate 2.
c00: number of test without a callback.
c10: number of tests with callbacks for candidate 1 only.
c01: number of tests with callbacks for candidate 2 only.
c11: number of tests with callbacks for both candidates
calldif: difference in callback numbers.
props: a data frame with the following variables.
props:
p_callback: callback/tests.
p_cand1: callback1/tests.
p_cand2: callback2/tests.
p_c00: c00/tests.
p_c10: c10/tests.
p_c01: c01/tests.
p_c11: c11/tests.
p_cand_dif: calldif/tests.
A callback object.
callback
Emmanuel Duguet
data(labour2) x <- callback(data=labour2,cluster="offer",candid="hist",callback="callback") stat_count(x)
Run the code above in your browser using DataLab