当前位置: 首页>>代码示例 >>用法及示例精选 >>正文


R FFdes 5 级部分因子设计


R语言 FFdes 位于 mgcv 包(package)。

说明

使用 Sanchez 和 Sanchez (2005) 的算法,以及可选的中心复合设计,计算最多 120 个因子的 5 级部分因子设计。

用法

FFdes(size=5,ccd=FALSE)

参数

size

因子数最多 120 个。

ccd

如果 TRUE ,则沿每个轴添加与原点距离相同的点,作为部分因子设计中的点,以创建中心复合设计的外部点。添加中心点即可完成。

细节

本质上是 Sanchez 和 Sanchez (2005) 附录中提供的代码的翻译。

例子

  require(mgcv)
  plot(rbind(0,FFdes(2,TRUE)),xlab="x",ylab="y",
       col=c(2,1,1,1,1,4,4,4,4),pch=19,main="CCD")
  FFdes(5)
  FFdes(5,TRUE)

作者

Simon N. Wood simon.wood@r-project.org

参考

Sanchez, S. M. & Sanchez, P. J. (2005) Very large fractional factorial and central composite designs. ACM Transactions on Modeling and Computer Simulation. 15: 362-377

相关用法


注:本文由纯净天空筛选整理自R-devel大神的英文原创作品 Level 5 fractional factorial designs。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。