A convenient function to calculate p-values for **t-statistics**. By default p-values are calculated based on the null hypothesis that the true parameters are equal to zero. To test against other values a vector of "hypotheses" must be supplied.
pval(est, std_err, df, hypotheses = NULL)
A vector of model estimates
A vector of standard errors
An integer giving the degrees of freedom for the test
A vector of values to test against. The vector must be the same length as `est`. If no vector is supplied, the default test is against 0.
A vector of p-values the length of `est`