Learn R Programming

uxr (version 0.2.0)

test_mcnemar: McNemar Test

Description

McNemar Test

Usage

test_mcnemar(data, x, y)

Value

results

Arguments

data

data

x

var 1

y

var 2

Examples

Run this code
A <- c(1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1)
B <- c(0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0)
data <- data.frame(A, B)
test_mcnemar(data, A, B)

Run the code above in your browser using DataLab