hrm.test.2.between.within: Test for no main effects and interaction effects of two...

Description Usage Arguments Value

View source: R/Repeated.R

Description

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

Usage

1
2
3
hrm.test.2.between.within(X, alpha, group, subgroup, factor1, factor2,
  subject, data, testing = rep(1, 15), 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)

factor1

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

factor2

column name of the data frame X of the second 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


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