tbr_binom_window: Binomial test based on time window

Description Usage Arguments Value

View source: R/tbr_binom.R

Description

Binomial test based on time window

Usage

1
tbr_binom_window(x, tcolumn, unit = "years", n, i, alpha)

Arguments

x

column containing "success" and "failure" observations as 0 or 1

tcolumn

formatted time column

unit

character, one of "years", "months", "weeks", "days", "hours", "minutes", "seconds"

n

numeric, describing the length of the time window.

i

rows

alpha

numeric, probability of a type 1 error, so confidence coefficient = 1-alpha

Value

list


tbrf documentation built on April 14, 2020, 7:10 p.m.