boot2pval: boot2pval

Description Usage Arguments Value Examples

View source: R/boot2pval.R

Description

boot2pval

Usage

1
boot2pval(x1, x2, conf.level = 0.95, iter = 3000, mudiff = 0, test = "two")

Arguments

x1

Sample 1

x2

Sample 2

conf.level

The level of the confidence interval

iter

The number of iterations for interval generation

mudiff

The null value for the difference of sample means

test

A value that moderates what is generated

Value

The p-value and a graph depicting the confidence interval

Examples

1
2
set.seed(10);x=rnorm(20,mean=4,sd=2);  y=rnorm(20,mean=4,sd=2)
boot2pval(x1=x,x2=y)

raymondhaynesOU/Math4753 documentation built on April 19, 2020, 6:13 p.m.