Last data update: 2014.03.03

R: Function to test for parallel lines.
sen.adichieR Documentation

Function to test for parallel lines.

Description

This code tests for parallel lines based on chapter 9 of Hollander, Wolfe, & Chicken, Nonparametric Statistical Methods, 3e.

Usage

sen.adichie(z, example=F, r=3) 

Arguments

z

a list of paired vectors. Each item in the list is a set of two paired vectors in the form of a matrix. The first column of each matrix is the x vector, the second in the y vector.

example

if true, analyzes the data from Example 9.5

r

determines the amount of rounding. Increase it if your P-values are coming out as 0 or 1.

Author(s)

Eric Chicken

Examples

##Example 9.5 Hollander-Wolfe-Chicken##
sen.adichie(example=TRUE)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(NSM3)
Loading required package: combinat

Attaching package: 'combinat'

The following object is masked from 'package:utils':

    combn

Loading required package: MASS
Loading required package: partitions
Loading required package: survival
fANCOVA 0.5-1 loaded
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/NSM3/sen.adichie.Rd_%03d_medium.png", width=480, height=480)
> ### Name: sen.adichie
> ### Title: Function to test for parallel lines.
> ### Aliases: sen.adichie
> ### Keywords: Sen Adichie
> 
> ### ** Examples
> 
> ##Example 9.5 Hollander-Wolfe-Chicken##
> sen.adichie(example=TRUE)

Null: all slopes are equal
V = 1.5, P = 0.682
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>