type_s.numeric: Numeric type_s

View source: R/simple_hypothesis_tests.R

type_s.numericR Documentation

Numeric type_s

Description

this is the S3 method of the generic type_s() function, used when a numeric is passed for A.

Usage

## S3 method for class 'numeric'
type_s(A, s, alpha = 0.05)

Arguments

A

a numeric, estimate of the true effect size

s

a numeric, standard error of the estimate

alpha

a numeric, the statistical significance threshold

Value

either the type S, a numeric if a single A is provided, or a df of length 2 by A, with the effect size and corresponding type S error in each row.

Examples

type_s(1,3.28)

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