Learn R Programming

TOSTER (version 0.3.4)

datatosttwoprop: TOST Two Proportions

Description

TOST Two Proportions

Usage

datatosttwoprop(data, var, level, group, low_eqbound = -0.1,
  high_eqbound = 0.1, alpha = 0.05, desc = FALSE, plot = FALSE)

Arguments

data

.

var

.

level

.

group

.

low_eqbound

a number (default: -0.1) the lower equivalence bounds

high_eqbound

a number (default: 0.1) the upper equivalence bounds

alpha

alpha level (default = 0.05)

desc

TRUE or FALSE (default), provide descriptive statistics

plot

TRUE or FALSE (default), provide plot

Value

A results object containing:

results$tost a table
results$eqb a table
results$desc a table
results$plot an image

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$tost$asDF

as.data.frame(results$tost)