sim.t.test {simitation}R Documentation

sim.t.test

Description

sim.t.test

Usage

sim.t.test(
  simdat.t,
  alternative = c("two.sided", "less", "greater"),
  mu = 0,
  paired = FALSE,
  var.equal = FALSE,
  conf.level = 0.95,
  experiment.name = "experiment",
  value.name = "x"
)

Arguments

simdat.t

Data for use in one-sample t tests across one or more experiments. Structure is in the form returned by the function simitation::sim.t().

alternative

See help(t.test).

mu

See help(t.test)

paired

See help(t.test)

var.equal

See help(t.test)

conf.level

See help(t.test)

experiment.name

A character value providing the name of the column identifying the experiment.

value.name

A character value providing the name of the column identifying the values.

Value

A data frame or data.table containing the results of one-sample t-tests performed on the data generated by the 'sim.t' function.

Examples


simdat.t <- sim.t(n = 25, mean = 0.3, sd = 1,  num.experiments = 2,
experiment.name = "experiment", value.name = "x", seed = 2187)


test.statistics.t <- sim.t.test(simdat.t = simdat.t, alternative = "greater",
mu = 0, conf.level = 0.95, experiment.name = "experiment", value.name = "x")

[Package simitation version 0.0.7 Index]