prop_test: prop_test

Description Usage Arguments Value Examples

Description

prop_test returns the test summary for a column in a given data.table

Usage

1

Arguments

db

a data.table containing a trained column and a column of interest

col

the column which you want to check successes for

Value

a test summary of prop.test

Examples

1
2
test <- data.frame(trained = sample(c(0,1),100, replace = TRUE), outcome = sample(c(0,1), 100, replace = TRUE))
prop_test(test, "outcome")

sehjk/nooran documentation built on May 16, 2019, 6:44 p.m.