Learn R Programming

HRM (version 1.2.1)

hrm.test.2.two: Test for two subplot factors

Description

Test for two subplot factors

Usage

hrm.test.2.two(
  X,
  alpha,
  factor1,
  factor2,
  subject,
  data,
  formula,
  testing = rep(1, 3),
  nonparametric,
  np.correction
)

Arguments

X

dataframe containing the data in the long table format

alpha

alpha level used for the test

factor1

column name of the data frame X of the first factor variable

factor2

column name of the data frame X of the second factor variable

subject

column name of the data frame X identifying the subjects

group

column name of the data frame X specifying the groups

Value

Returns a data frame consisting of the degrees of freedom, the test value, the critical value and the p-value