hodges.ajne: Perform Hodges-Ajne test

View source: R/hodges.ajne.R

hodges.ajneR Documentation

Perform Hodges-Ajne test

Description

hodges.ajne() performs the Hodges-Ajne test and is used in chapter 4 of "Applied Nonparametric Statistical Methods" (5th edition)

Usage

hodges.ajne(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.16 from "Applied Nonparametric Statistical Methods" (5th edition)
hodges.ajne(ch4$times.as.degrees)

# Exercise 4.14 from "Applied Nonparametric Statistical Methods" (5th edition)
hodges.ajne(ch4$board.angles)


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