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.
hrm_test_internal(
formula,
data,
alpha = 0.05,
subject,
variable,
nonparametric,
np.correction
)
A model formula object. The left hand side contains the response variable and the right hand side contains the whole- and subplot factors.
Either a data.frame (one observation per row) or a list with matrices (one subject per row) for all groups containing the data
alpha level used for calculating the critical value for the test
column name within the data frame X identifying the subjects
Returns an object from class HRM containing
A dataframe with the results from the hypotheses tests.
The formula object which was used.
The type-I error rate which was used.
The column name identifying the subjects.
A list containing the whole- and subplot factors.
The data.frame or list containing the data.