t2p {ReplicationSuccess} | R Documentation |
Transforms the t-value(s) to the corresponding one- or two-sided p-value(s).
t2p(t, alternative="two.sided")
t |
a vector of t-values |
alternative |
Underlying alternative of p-value. Either "two.sided" or "one.sided". Defaults to "two.sided". Specifies if the P-values are one-sided or two-sided. |
A numeric vector of p-values
t2p(t=c(1,2,5)) t2p(t=c(1,2,5), alternative="one.sided")