get_t_value: Get t value by confidence-level and degree of freedom

get_t_valueR Documentation

Get t value by confidence-level and degree of freedom

Description

Wrapper function for qt to get the t value needed for finding confidence intervals or p values.

Usage

get_t_value(conf, df, ...)

Arguments

conf

(numeric scalar) The confidence level desired as a fraction.

df

(numeric scalar) The degrees of freedom.

...

(other named arguments) Other arguments to pass to qt. See that function for details.

Examples

#get t value for 95 pct. confidence interval with df = 20
get_t_value(.95, 20)

Deleetdk/kirkegaard documentation built on April 22, 2024, 5:22 p.m.