I tried the same method in this link: Problems when applying function comp() but the result of pNorm is just the rank:
Q Var Z pNorm
1 10.25050 6.34099 4.0707 6
n 271.00000 5462.61156 3.6666 4
sqrtN 51.16275 173.75714 3.8813 1
S1 6.36221 2.87942 3.7493 2
S2 6.12261 2.69899 3.7268 3
FH_p=1_q=1 1.66465 0.22122 3.5393 5
maxAbsZ Var Q pSupBr
1 10.25050 6.34099 4.0707 6
n 271.00000 5462.61156 3.6666 4
sqrtN 51.16275 173.75714 3.8813 1
S1 6.36221 2.87942 3.7493 2
S2 6.12261 2.69899 3.7268 3
FH_p=1_q=1 1.66465 0.22122 3.5393 5
NULL
I don't know how to display the result in exact p-value. Thanks!