randmf: randmf function

View source: R/randmf.R

randmfR Documentation

randmf function

Description

comparison of correlation matrices using randomization test of hypothesized order relations outputs two objects in a list: first the RTHOR results for each model, second the comparisons

Usage

randmf(n, nmat, ord = "circular6", input)

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

Value

Data frame of RTHOR model results, one row per matrix

Examples

randmf_results <- RTHORR::randmf(n=6,
                                 nmat=3,
                                 ord="circular6",
                                 input=system.file("extdata", "input.txt", package = "RTHORR"))


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