rng.test: Perform Range test

View source: R/rng.test.R

rng.testR 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)


ANSM5 documentation built on Sept. 11, 2024, 6:45 p.m.