t_conf: Confdidence interval for mean

View source: R/t_conf.R

t_confR Documentation

Confdidence interval for mean

Description

Compute a confidence interval for the mean of a response variable using the t-distribution.

Usage

t_conf(x, conf = 0.95, ...)

Arguments

x

a (non-empty) numeric vector of data values.

conf

confidence level of the interval.

...

further arguments to be passed to t.test.

Value

A vector with two values: lower and upper confidence limits for the mean of the response variable.

Author(s)

Reza Mohammadi a.mohammadi@uva.nl

Examples

data(churn)

t_conf(churn$customer.calls, conf = 0.9)

liver documentation built on Aug. 22, 2025, 1:08 a.m.