FoldHit0core.homoVAR.fn: Calculate FoldHit with error control in the middle

Description Usage Arguments Value Author(s) Examples

View source: R/FoldHit0core.homoVAR.fn.R

Description

a core function to search for FoldHit0 corresponding to FoldHitC (FoldHit critical value)

Usage

1
2
3
4
5
6
7
8
FoldHit0core.homoVAR.fn(
  FoldHitC,
  n1,
  n2,
  Alpha,
  length.out = 1000,
  minDIFF = 0.01
)

Arguments

FoldHitC

the critical value of FoldHit

n1

sample size for the first group (reference group)

n2

sample size for the second group

Alpha

significant level

length.out

the length of vectors of FoldHit0 candidate values for search FoldHit0.

minDIFF

if the difference between the input FoldHitC and the calculated FoldHitC corresponding to a FoldHit0 value, then stop the calculation process and return this calculated value as what we want

Value

FoldHit0

Author(s)

Xiaohua Douglas Zhang 02/2020

Examples

1
FoldHit0core.homoVAR.fn(FoldHitC=-1.121588, n1=304, n2=16, Alpha=0.05, minDIFF=0.001)

xhdouglas/HTScapacity documentation built on Dec. 10, 2020, 8:20 p.m.