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)

rolkra/explore documentation built on April 17, 2024, 10:58 p.m.