papaja (version 0.1.2)

conf_int: Between-Subjects Confidence Intervals

Description

Calculates the deviation that is needed to construct confidence intervals for a vector of observations.

Usage

conf_int(x, level = 0.95, na.rm = TRUE)

conf.int(x, level = 0.95, na.rm = TRUE)

ci(x, level = 0.95, na.rm = TRUE)

Value

Returns a single numeric value, the deviation of the symmetric confidence bounds from the mean based on the t distribution.

Arguments

x

Numeric. A vector of observations from your dependent variable.

level

Numeric. Defines the width of the interval if confidence intervals are plotted. Defaults to 0.95 for 95% confidence intervals.

na.rm

Logical. Specifies if missing values should be removed.