Estimates the exact statistical power of a performed Student's t test about mean(s). Here, according to Winer (1970) we use the exact power by the noncentral cumulative distribution function. It recalls you the statistical result of the test you should have arrived.
Inputs:
t - Student's t statistic (It is considered the estimated noncentrality parameter)
df - degrees of freedom
c - specified testing direction [1 = one-tailed(default);2 = two tailed].
alpha - significance level (default = 0.05)
Outputs:
-Specified direction test
(Statistical result of the test you should have arrived).
-Power