retro_design_closed_form.list: List retro_design_closed_form

View source: R/simple_hypothesis_tests.R

retro_design_closed_form.listR Documentation

List retro_design_closed_form

Description

retro_design_closed_form.list is the S3 method of the generic retro_design_closed_form() function, used when a list is passed for A.

Usage

## S3 method for class 'list'
retro_design_closed_form(A, s, alpha = 0.05)

Arguments

A

a list, estimates of the true effect size

s

a numeric, standard error of the estimate

alpha

a numeric, the statistical significance threshold

Value

A df that is 4 by length(A), with an effect size and it's corresponding power, type s, and type m errors in each row.

Examples

retro_design(list(.2,2,20),8.1)

retrodesign documentation built on Nov. 3, 2023, 1:07 a.m.