rng.test {ANSM5}R Documentation

Perform Range test

Description

rng.test() performs the Range test and is used in chapter 4 of "Applied Nonparametric Statistical Methods" (5th edition)

Usage

rng.test(x, alternative = c("two.sided"), minx = 0, maxx = 360)

Arguments

x

Numeric vector

alternative

Type of alternative hypothesis (defaults to c("two.sided"))

minx

Minimum value for x (defaults to 0)

maxx

Maximum value for x (defaults to 360)

Value

An ANSMtest object with the results from applying the function

Examples

# Example 4.17 from "Applied Nonparametric Statistical Methods" (5th edition)
rng.test(ch4$dates.as.degrees)

# Exercise 4.13 from "Applied Nonparametric Statistical Methods" (5th edition)
rng.test(ch4$accident.bearings)


[Package ANSM5 version 1.1.0 Index]