myboot2pval: Bootstrap interval for a two sample test

Description Usage Arguments Examples

View source: R/myboot2pval.R

Description

takes two samples and returns the p-value and a bootstrap plot.

Usage

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

Arguments

x1

Vector

x2

Vector

conf.level

Number

iter

Number

mudiff

Number

test

String

Examples

1
2
3
set.seed(30);x=rnorm(15,mean=10,sd=4)
set.seed(40);y=rnorm(20,mean=12,sd=4)
myboot2pval(x,y)

Nathanv97/vand6485 documentation built on May 7, 2020, 1:06 p.m.