Skip to contents

Show t-value table

Usage

show_t_table(DF = 20, t = NULL, p = 0.05, alternative = "two.sided")

Arguments

DF

Numeric degree of freedom

t

Numeric vector of quantile

p

Numeric probability

alternative

Character One of c("two.sided","greater","less")

Value

An object of class "flextable"

Examples

show_t_table()
#> a flextable object.
#> col_keys: `df`, `0.400`, `0.250`, `0.100`, `0.050`, `0.025`, `0.010`, `0.005`, `0.001` 
#> header has 1 row(s) 
#> body has 4 row(s) 
#> original dataset sample: 
#>   df  0.400  0.250  0.100  0.050  0.025  0.010  0.005  0.001
#> 1 18 -0.257 -0.688 -1.330 -1.734 -2.101 -2.552 -2.878 -3.610
#> 2 19 -0.257 -0.688 -1.328 -1.729 -2.093 -2.539 -2.861 -3.579
#> 3 20 -0.257 -0.687 -1.325 -1.725 -2.086 -2.528 -2.845 -3.552
#> 4 21 -0.257 -0.686 -1.323 -1.721 -2.080 -2.518 -2.831 -3.527
show_t_table(t=1.4)
#> a flextable object.
#> col_keys: `df`, `0.400`, `0.250`, `0.100`, `0.088`, `0.050`, `0.025`, `0.010`, `0.005`, `0.001` 
#> header has 1 row(s) 
#> body has 4 row(s) 
#> original dataset sample: 
#>   df  0.400  0.250  0.100  0.088  0.050  0.025  0.010  0.005  0.001
#> 1 18 -0.257 -0.688 -1.330 -1.406 -1.734 -2.101 -2.552 -2.878 -3.610
#> 2 19 -0.257 -0.688 -1.328 -1.403 -1.729 -2.093 -2.539 -2.861 -3.579
#> 3 20 -0.257 -0.687 -1.325 -1.400 -1.725 -2.086 -2.528 -2.845 -3.552
#> 4 21 -0.257 -0.686 -1.323 -1.398 -1.721 -2.080 -2.518 -2.831 -3.527
show_t_table(DF=10)
#> a flextable object.
#> col_keys: `df`, `0.400`, `0.250`, `0.100`, `0.050`, `0.025`, `0.010`, `0.005`, `0.001` 
#> header has 1 row(s) 
#> body has 4 row(s) 
#> original dataset sample: 
#>   df  0.400  0.250  0.100  0.050  0.025  0.010  0.005  0.001
#> 1  8 -0.262 -0.706 -1.397 -1.860 -2.306 -2.896 -3.355 -4.501
#> 2  9 -0.261 -0.703 -1.383 -1.833 -2.262 -2.821 -3.250 -4.297
#> 3 10 -0.260 -0.700 -1.372 -1.812 -2.228 -2.764 -3.169 -4.144
#> 4 11 -0.260 -0.697 -1.363 -1.796 -2.201 -2.718 -3.106 -4.025