hrm_test_internal: Test for Multi-Factor High-Dimensional Repeated Measures

Description Usage Arguments Value

View source: R/Repeated.R

Description

Performing main and interaction effects of up to three whole- or subplot-factors. In total, a maximum of four factors can be used. There are two different S3 methods available. The first method requires a list of matrices in the wide table format. The second methodl requres a data.frame in the long table format.

Usage

1
2
hrm_test_internal(formula, data, alpha = 0.05, subject, variable,
  nonparametric, np.correction)

Arguments

formula

A model formula object. The left hand side contains the response variable and the right hand side contains the whole- and subplot factors.

data

Either a data.frame (one observation per row) or a list with matrices (one subject per row) for all groups containing the data

alpha

alpha level used for calculating the critical value for the test

subject

column name within the data frame X identifying the subjects

Value

Returns an object from class HRM containing

result

A dataframe with the results from the hypotheses tests.

formula

The formula object which was used.

alpha

The type-I error rate which was used.

subject

The column name identifying the subjects.

factors

A list containing the whole- and subplot factors.

data

The data.frame or list containing the data.


happma/HRM documentation built on Feb. 11, 2020, 3:50 a.m.