Skip to contents

This function generates a `data.frame` containing the results of Cochran's Q test, chance-corrected R, and corresponding p-values. The resulting table is intended for integration into VOX analysis application.

Usage

table_cochrans_q_test(df_input_response)

Arguments

df_input_response

A `data.frame` containing referent names and their associated responses, typically recorded by the listener. For example data, run `data("df_input_response_example")` or `data("df_input_response_previous_example")`.

Examples

# Load example response data
data("df_input_response_example")

# Generate a summary table with Cochran's Q test and supporting statistics
table_cochrans_q_test(df_input_response = df_input_response_example)
#>                label  value
#> 1        Cochran's Q 7.5000
#> 2 Chance-corrected R 0.1875
#> 3            P-value 0.0576