CF: Classical F test for mixed effects model

Description Usage Arguments Value

View source: R/functions.R

Description

#' This function conducts the test of main effect of treatment, interaction effect of treatment and time, main effect of time, and simple effect of treament based on mixed effects models

Usage

1
CF(data, a, b, mn)

Arguments

data

The data in long format (see the example in function dataformat_wide_to_long( )).

a

The number of treatments.

b

The number of time points or repeated measurements per subject.

mn

The vector of sample sizes in treatments.

Value

a list of p-values from mixed effect model for the test of no main treatment effect (palpha), test of no main time effect (pbeta), test of no interaction effect between treatment and time (pgamma), and test of no simple effect of treatment (pphi).


HeterFunctionalData documentation built on Aug. 20, 2020, 9:06 a.m.