我正在尝试分析具有中心点和星点的完整因子设计 2^4,没有重复。但是,我正在尝试绘制丹尼尔图,但我做不到。R 代码(https://docs.google.com/document/d/1hrODFpL4tWnWr9CPL9g_myALMQ926SsNS9Ncy5MnhA0/edit?usp=sharing)。
library(Rcmdr)
library(RcmdrPlugin.DoE)
library(FrF2)
Design.1 <- fac.design(nfactors= 4,
replications= 1 ,
repeat.only= FALSE ,
blocks= 1 ,
randomize= FALSE ,
seed= 28059 ,
nlevels=c( 2,2,2,2 ),
factor.names=list(Temperature=c(100,160),
Time=c(1.5,4),
Acid=c(0,3),
Biomass=c(10,30) ) )
Design.1.withcenterpts <- add.center(Design.1, ncenter= 2, distribute= 1)
CCD <- ccd.augment(Design.1.withcenterpts, alpha= 1, ncenter=c(1) ,
randomize= FALSE, seed= 3647 )
attach(CCD)
y.response= c(33.8, 61.19, 46.76, 49.21, 91.17, 97.14, 97.34, 9.88, 40.05, 41.93, 50.07,
62.83, 98.72, 6.45, 99.48, 14.48, 95, 97.99, 97.96, 12.97, 99.78, 74,
51.82, 59.79, 83.38, 81.63, 94.07)
CCD <- add.response(CCD, y.response, replace=FALSE)
DanielPlot(CCD)