Learn R Programming

ANSM5 (version 1.1.1)

hodges.ajne: 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)

Value

An ANSMtest object with the results from applying the function

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)

Examples

Run this code
# 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)

Run the code above in your browser using DataLab