randall: randall function

View source: R/randall.R

randallR Documentation

randall function

Description

Randomization test of hypothesized order relations

Usage

randall(n, nmat, ord = "circular6", input, description)

Arguments

n

number of variables (rows in the matrix)

nmat

number of matrices to be analyzed

ord

prediction ordering (default "circular6"). For circular models there are two preset inputs for 6 and 8 variables, "circular6" and "circular8". Also accepts a vector of prediction ordering, for example circular6 = c(1,2,3,2,1,1,2,3,2,1,2,3,1,2,1)

input

name of the input file

description

any information you wish to enter describing each sample

Value

Data frame of RTHOR model results, one row per matrix

Examples

randall_output <- RTHORR::randall(n=6,
                                  nmat=3,
                                  ord = "circular6",
                                  input=system.file("extdata", "input.txt", package = "RTHORR"),
                                  description = c("sample_one", "sample_two", "sample_three"))


michaellynnmorris/RTHORR documentation built on Dec. 7, 2023, 2:20 a.m.