Package 'minimalRSD'

Title: Minimally Changed CCD and BBD
Description: Generate central composite designs (CCD)with full as well as fractional factorial points (half replicate) and Box Behnken designs (BBD) with minimally changed run sequence.
Authors: Shwetank Lall [aut, cre], Eldho Varghese [aut], Seema Jaggi [ctb], Cini Varghese [ctb], Arpan Bhowmik [ctb]
Maintainer: Shwetank Lall <[email protected]>
License: GPL (>= 2)
Version: 1.0.0
Built: 2025-02-16 04:15:23 UTC
Source: https://github.com/cran/minimalRSD

Help Index


Generate Factorial Points

Description

For a given number of factors, say k, it generates 2^k factorial points such that the number of changes in the run sequence is minimum.

Usage

fact.pts(k)

Arguments

k

an integer greater than or equal to 2.

Value

For K number of factors, generate factorial points with minimum level changes.

Examples

# For generating a full factorial for k=4 factors
# in 2 levels with minimum level changes
fact.pts(4)

Generate Half Replicate of Full Factorial Points.

Description

For a given number of factors, say k, it generates 2^(k-1) factorial points such that the number of changes in levels in the half replicate is minimum.

Usage

fact.pts_2(k)

Arguments

k

an integer greter than or equal to 3.

Value

For K number of factors, generate factorial points in half replication with minimum level changes.

Examples

# For generating a minimally changed half
# replicate of full factorial with 4 factors
# in 2 levels fact.pts_2(4)

Minimally Changed BBD

Description

Generate Box Behnken design (BBD) with minimum level changes in the run sequence.

Usage

min_bbd(k)

Arguments

k

An integer greter than or equal to 3.

Value

returns a minimally changed BBD for the number of input factors as v.

Examples

# To generate minimmaly changed BBD for k=4 factors
min_bbd(4)

Minimally Changed CCD

Description

Generate minimally changed run sequence for central composite designs (CCD).

Usage

min_ccd(k)

Arguments

k

an integer greater than or equal to 2.

Value

returns a minimally changed CCD for K number of factors with full factorial points.

Examples

# Generate minimally changed CCD with full factorial points
# for k=4 factors
min_ccd(4)

Generate Minimally Changed Central Composite designs (CCD) with Fractional Factorial Points (Half Replicate)

Description

Generate Minimally Changed Central Composite designs (CCD) with Fractional Factorial Points (Half Replicate)

Usage

min_ccd_2(k)

Arguments

k

An integer greter than or equal to 3.

Value

returns a minimally changed CCD for K number of factors with half replicated factorial points.

Examples

# Generate minimally changed CCD with fractional
# factorial points (half replicate) for k=4 factors
min_ccd_2(4)

minimalRSD: A package for constructing CCD and BBD with minimum level changes in the run sequence

Description

The minimalRSD package can be used to construct Central Composite Designs (CCD) with full as well as fractional factorial points(half replicate) and Box Behnken designs (BBD) with minimum number of changes in the levels of input factors. These designs help in providing reducing cost-effective Response Surface Designs (RSDs). This package provides three categories of important functions: min-bbd, min_ccd and min_ccd_2.

Details

The package minimalRSD is an implementation of the concepts and theory discussed by Varghese et al. (2017). For detailed information and concepts users are advised to see the following reference.

minimalRSD functions

min_bbd: Generate minimally changed BBD for a given number of input factors.
min_ccd: Generate minimally changed CCD for a given number of input factors.
min_ccd_2: Generate minimally changed CCD with fractinalfactorial points (half replicate) for a given number of factors.

Author(s)

Shwetank Lall [email protected]

References

Eldho Varghese, Arpan Bhowmik,Seema Jaggi, Cini Varghese and Shwetank Lall (2017). On the construction of response surface designs with minimum level changes. Utilitas Mathematica, (under print).
Eldho Varghese, Arpan Bhowmik,Seema Jaggi, Cini Varghese and Charanjit Kaur (2017). On the generation of cost effective response surface designs. Computers and Electronics in Agriculture, 133,37-45.


Number of Changes in Factor Levels of the Design

Description

For a given design in matrix form, it counts the number of changes in levels of each factor as well as overall number of changes in the design.

Usage

num.ch(M)

Arguments

M

a design matrix.

Value

returns the number of changes in levels of each factor and total number of such changes in the design

Examples

# For generating a minimally changed CCD with 4 factors
des<-min_ccd(4)
# To count the number of level changes in the generated design
num.ch(des$CCD_design)