abtest_targetnum: A/B testing comparing two mean

View source: R/abtest.R

abtest_targetnumR Documentation

A/B testing comparing two mean

Description

A/B testing comparing two mean

Usage

abtest_targetnum(data, expr, target, sign_level = 0.05, color = "grey")

Arguments

data

A dataset

expr

Expression, that results in a FALSE/TRUE

target

Target variable (must be numeric)

sign_level

Significance Level (typical 0.01/0.05/0.10)

color

fill color

Value

Plot that shows if difference is significant

Examples

data <- create_data_buy(obs = 100)
abtest(data, city_ind == 1, target = age)

explore documentation built on Sept. 11, 2024, 7:40 p.m.