Version: 1.0
Date: 2025-11-24
Title: Efficiencies of Block Designs for Factorial and Fractional Factorial Experiments
Author: Sukanta Dash [aut], Baidya Nath Mandal [aut, cre], Anil Kumar [aut]
Maintainer: Baidya Nath Mandal <mandal.stat@gmail.com>
Depends: R (≥ 4.5.0)
Imports: shiny, MASS, Matrix, htmltools
Description: Opens a 'shiny' app which supports theoretical and computational analysis of block designs for symmetrical and mixed level factorial experiments. This package includes tools to check whether a design has orthogonal factorial structure (OFS) with balance or not and is able to find the orthogonality deviation value if not having OFS. This package includes function to evaluate efficiency factor of all factorial effects in two situations, in the first situation if the design is verified with OFS and balance then calculate the efficiencies of all factorial effects using a specific analytical procedure and in the second situation if the design is verified with non-OFS and balance then a new general method has been developed and used to calculate efficiencies under the condition that the design should be proper and equi-replicated, See Gupta, S.C. and Mukerjee, R. (1987): "A Calculus for factorial arrangements". Lecture Notes in Statistics. No. 59, Springer-Verlag, Berlin, New York, <doi:10.1007/978-1-4419-8730-3>. For the easy use of package, 'shiny' app is used for giving inputs and inputs validation.
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Encoding: UTF-8
NeedsCompilation: no
Packaged: 2025-11-24 07:13:26 UTC; user17
Repository: CRAN
Date/Publication: 2025-11-27 19:10:20 UTC

Analyze properties of a blocked factorial design with given number of levels of factors and block contents

Description

Returns factorial designs properties such as block sizes, replications of treatments, orthogonal factorial structure or not, efficiencies of main effects and interactions

Usage

analyze_design(factor_levels, blocks)

Arguments

factor_levels

a numeric vector with positive entries, elements denoting levels of factors

blocks

a list of numeric vectors of same size, each vector representing individual block contents of a factorial design.

Value

Returns factorial designs properties such as block sizes, replications of treatments, orthogonal factorial structure or not, efficiencies of main effects and interactions

Examples

blocks = as.matrix(autogenerate_design(2,c(3,4),3,2))
blocks = lapply(seq_len(ncol(blocks)), function(i) blocks[, i])
analyze_design(c(3,4), blocks)

Autogenerate a blocked factorial design for given number of factors, factor levels, block size and replications

Description

Autogenerate a blocked factorial design for given number of factors, factor levels, block size and replications

Usage

autogenerate_design(n_factors, factor_levels, block_size, replications)

Arguments

n_factors

a positive integer, denoting number of factors

factor_levels

a numeric vector with positive entries with length same as n_factors, elements denoting levels of factors

block_size

a positive integer, denoting block size

replications

a positive integer, denoting number of replications

Value

Returns a blocked factorial design with columns representing blocks and entries representing treatment combinations

Examples

autogenerate_design(2,c(3,4),3,2)

opens 'shiny' interface to analyze a factorial design

Description

opens a 'shiny' interface where user can provide necessary inputs to analyze a factorial design

Usage

run_app()

Value

opens shiny interface with input and output areas

Examples

if(interactive()) run_app

mirror server hosted at Truenetwork, Russian Federation.