Information Decomposition of Two-Phase Experiments

The main purpose of this package is to generate the structure of the analysis of variance (ANOVA) table of the two-phase experiments. The user only need to input the design and the relationships of the random and fixed factors using the Wilkinson-Rogers' syntax, this package can then quickly generate the structure of the ANOVA table with the coefficients of the variance components for the expected mean squares. Thus, the balanced incomplete block design and provides the efficiency factors of the fixed effects can also be studied and compared much easily.


infoDecompuTE

Build Status CRAN_Status_Badge Coverage Status Rdoc

InfoDecompuTE is capable of generating the structure of the analysis of variance (ANOVA) table of the two-phase experiments. By inputting the design and the relationships of the random and fixed factors using the Wilkinson-Rogers' syntax, infoDecompuTE can generate the structure of the ANOVA table with the coefficients of the variance components for the expected mean squares. This package can also study the balanced incomplete block design and provides the efficiency factors of the fixed effects.

infoDecompuTE is available from CRAN. Install it with:

install.packages("infoDecompuTE")

You can also install infoDecompuTE from github with:

# install.packages("devtools")
devtools::install_github("kcha193/infoDecompuTE")

Examples

The following examples uses infoDecompuTE to construct ANOVA table of single-phase and two-phase experiments

design1 <- local({ 
  Ani = as.factor(LETTERS[c(1,2,3,4,
                            5,6,7,8)])
  Trt = as.factor(letters[c(1,1,1,1,
                            2,2,2,2)])
  data.frame(Ani, Trt)
})
 
summaryAovOnePhase(design1, blk.str = "Ani", trt.str = "Trt") 
 
design2 <- local({ 
  Run = as.factor(rep(1:4, each = 4))
  Ani = as.factor(LETTERS[c(1,2,3,4,
                            5,6,7,8,
                            3,4,1,2,
                            7,8,5,6)])
  Sam = as.factor(as.numeric(duplicated(Ani)) + 1)
  Tag = as.factor(c(114,115,116,117)[rep(1:4, 4)])
  Trt = as.factor(c("healthy", "diseased")[c(1,2,1,2,
                            2,1,2,1,
                            1,2,1,2,
                            2,1,2,1)])
  data.frame(Run, Ani, Sam, Tag, Trt)
})
design2
                                  
summaryAovTwoPhase(design2, blk.str1 = "Ani", blk.str2 = "Run", 
trt.str = "Tag + Trt")  

Shiny apps

The shiny app is also available from shinyapps.io.

News

CHANGES IN infoDecompuTE VERSION 0.6.1

NEW FEATURES

o To check with the latest version of R.

CHANGES IN infoDecompuTE VERSION 0.6

NEW FEATURES

o To check with the latest version of R.

CHANGES IN infoDecompuTE VERSION 0.5.6

NEW FEATURES

o allow the user to display the coefficients in the decimals instead of fraction.

o stored the code on github, https://github.com/kcha193/infoDecompuTE

BUG FIXES

o the constructing the block/treatment contrast matrix when the users defined their own. Focusing on when there are interaction effects.

MAJOR CHANGES

o remove the logical on fitting the model as contrast matrices. May need to change back in the future.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("infoDecompuTE")

0.6.1 by Kevin Chang, 9 months ago


https://github.com/kcha193/infoDecompuTE


Report a bug at https://github.com/kcha193/infoDecompuTE/issues


Browse source code at https://github.com/cran/infoDecompuTE


Authors: Kevin Chang [aut, cre] , Katya Ruggiero [aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports MASS


See at CRAN