Skip to contents

Confidence Intervals for Mean Values

Usage

ciSingle(
  data,
  deps,
  splitBy,
  ciWidth = 95,
  method = "t",
  showPlot = FALSE,
  bootstrapSamples = 1000,
  showDiagnostics = FALSE
)

Arguments

data

.

deps

.

splitBy

.

ciWidth

Confidence level for interval estimation.

method

Method for calculating confidence intervals.

showPlot

Display confidence interval visualization.

bootstrapSamples

Number of bootstrap samples (when using bootstrap method).

showDiagnostics

Display normality tests and other diagnostic information.

Value

A results object containing:

results$conflevela preformatted
results$citablea table
results$diagnosticsa table
results$plotan image

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$citable$asDF

as.data.frame(results$citable)