stat_count {callback} | R Documentation |
Callback counts on paired data
Description
Computes the callback count statistics from the paired data sets.
Usage
stat_count(x)
Arguments
x |
A |
Value
A list with class "stat_count"
containing two data frames: counts and
props.
counts:
a data frame with the callback 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.
-
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.
Author(s)
Emmanuel Duguet
Examples
data(labour2)
x <- callback(data=labour2,cluster="offer",candid="hist",callback="callback")
stat_count(x)