Learn R Programming

HRM (version 1.2.1)

hrm.test.2.between: Test for no main effects and interaction effects of two crossed between-subject factors and one within-subject factor

Description

Test for no main effects and interaction effects of two crossed between-subject factors and one within-subject factor

Usage

hrm.test.2.between(
  X,
  alpha,
  group,
  subgroup,
  factor,
  subject,
  data,
  testing = rep(1, 7),
  formula,
  nonparametric,
  np.correction
)

Arguments

X

dataframe containing the data in the long table format

alpha

alpha level used for the test

group

column name of the data frame X specifying the groups

subgroup

column name of the subgroups (crossed with groups)

factor

column name of the data frame X of within-subject factor

subject

column name of the data frame X identifying the subjects

data

column name of the data frame X containing the measurement data

testing

vector specifying which hypotheses should be tested

formula

formula object from the user input

Value

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