get_depth_from_n: Get depth from sample size

View source: R/wodds.R

get_depth_from_nR Documentation

Get depth from sample size

Description

Calculates the depth given a sample size and alpha level

Usage

get_depth_from_n(n, alpha = 0.05)

Arguments

n

an integer scalar sample size

alpha

alpha level such as 0.1, 0.05, 0.01. An alpha of 0.05 would be associated with a 95 percent confidence interval

Value

an integer depth

Examples

get_depth_from_n(1e4L, 0.05)

wodds documentation built on April 15, 2022, 5:06 p.m.