OSR {doex}R Documentation

One Stage Range test

Description

This function performs One Stage Range test.

Usage

OSR(data,group,nout,rept)

Arguments

data

A vector containing the observations to which the treatments are randomly assigned.

group

A numerical or character vector indicating the treatment/control groups.

nout

an integer

rept

The loop size to perform the test.

Value

pvalue

the p-value of the One Stage Range test

Author(s)

Mustafa CAVUS

References

Chen, S.Y. and Chen, H.J. (2000) A Range Test for the Equality of Means when Variances are Unequal, American Journal of Mathematical and Management Sciences, 20:1-2, 145-170.

Examples

library(doex)
OSR(hybrid$data,hybrid$species,1,10000)

[Package doex version 1.2 Index]