Learn R Programming

nparLD (version 2.3.1)

amylase: Alpha-amylase Saliva Study

Description

Measurements of alpha-amylase levels in saliva from healthy volunteers. The study illustrates a two-factor longitudinal design with two repeated measures factors.

Usage

amylase

Arguments

Format

A data frame with variables:

resp

Alpha-amylase measurement.

time1

First repeated-measures factor.

time2

Second repeated-measures factor.

subject

Subject identifier.

Examples

Run this code
data(amylase)

fit <- nparLD(resp ~ time1 * time2,
              data = amylase,
              subject = "subject",
              effect = "weighted",
              hypothesis = "H0F")
fit

# Dunnett-type contrasts for the levels of time2
fit <- nparLD(resp ~ time1 * time2,
              data = amylase,
              subject = "subject",
              hypothesis = "H0p",
              contrast = list("time2", "Dunnett"),
              Factor.Information = TRUE)
fit
plot(fit)
plot(fit$MCTP)

Run the code above in your browser using DataLab