p2t {ReplicationSuccess} | R Documentation |
Transforms one- or two-sided p-value(s) to the corresponding t-value(s).
p2t(p, alternative="two.sided")
p |
a vector of p-values |
alternative |
type 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 t-values
p2t(p=c(0.005, 0.01, 0.05)) p2t(p=c(0.005, 0.01, 0.05), alternative="one.sided")