plotOutcomesForIndividualsInEachSequenceGroup: plotOutcomesForIndividualsInEachSequenceGroup

View source: R/MadeyskiKitchenhamMetaAnalysis.R

plotOutcomesForIndividualsInEachSequenceGroupR Documentation

plotOutcomesForIndividualsInEachSequenceGroup

Description

Function to plot a figure on the outcomes for individuals in each sequence group used in a paper 'Effect Sizes and their Variance for AB/BA Crossover Design Studies' by Lech Madeyski and Barbara Kitchenham

Usage

plotOutcomesForIndividualsInEachSequenceGroup(
  var,
  covar,
  meanA1,
  treatmentDiff,
  periodEffect,
  numOfSamples
)

Arguments

var

Variance among subjects is a sum of the between subjects variance and the within subjects variance

covar

Covariance equal to the between subjects variance

meanA1

Mean for treatment sequence A1

treatmentDiff

technique effect which is the difference between the effect of technique A and technique B

periodEffect

Period effect which is the difference between period 1 and period 2

numOfSamples

Number of samples ('rows' of data) required for each technique and period

Value

plot

Author(s)

Lech Madeyski and Barbara Kitchenham

Examples

myPlot <- plotOutcomesForIndividualsInEachSequenceGroup(25, 18.75, 50, 10, 5, 15)

reproducer documentation built on Oct. 18, 2023, 5:10 p.m.