retro_design_closed_form.list {retrodesign}R 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)

[Package retrodesign version 0.2.2 Index]