Function to compute the upper tail probability of the Hayter-Stone W asymptotic distribution for a given cutoff.
Usage
pHayStonLSA(h,k,delta=.001)
Arguments
h
Cutoff used to calculate the P-value.
k
Number of groups.
delta
Defines the fineness of the grid used to calculate the asymptotic distribution of W.
Value
Returns the asymptotic upper tail P-value.
Author(s)
Grant Schneider
Examples
pHayStonLSA(2.491,3)
pHayStonLSA(4.112,4)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(NSM3)
Loading required package: combinat
Attaching package: 'combinat'
The following object is masked from 'package:utils':
combn
Loading required package: MASS
Loading required package: partitions
Loading required package: survival
fANCOVA 0.5-1 loaded
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/NSM3/pHayStonLSA.Rd_%03d_medium.png", width=480, height=480)
> ### Name: pHayStonLSA
> ### Title: Hayter-Sone LSA
> ### Aliases: pHayStonLSA
> ### Keywords: Hayter-Stone LSA
>
> ### ** Examples
>
> pHayStonLSA(2.491,3)
[1] 0.09985702
> pHayStonLSA(4.112,4)
[1] 0.00970426
>
>
>
>
>
> dev.off()
null device
1
>