Learn R Programming

ordinalTables (version 1.0.0.3)

log_linear_main_effect_design: Design matrix for baseline independence model with main effects for rows and columns.

Description

It is intended as a straw-man model as it assumes no agreement beyond chance.

Usage

log_linear_main_effect_design(n, n_raters = 2)

Value

the design matrix for the model

Arguments

n

the matrix of cell counts

n_raters

number of raters. Currently only 2 (the default) are supported. This is an extension point for future work.

Examples

Run this code
x <- log_linear_main_effect_design(vision_data)

Run the code above in your browser using DataLab