<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt"><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 12pt;"><span>Boa tarde, rodei o código abaixo, quando tentei gerar o gráfico de cubo pela função cubePlot gerou o erro abaixo. Alguém poderia me ajudar?</span></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style:
normal;"><span>Att,</span></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 12pt;"></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 12pt;"> </div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 12pt;"><span style="font-weight:bold;font-style:italic;">Ari Clecius Alves de Lima</span><br style="font-weight:bold;font-style:italic;"><span style="font-weight:bold;font-style:italic;">Engenheiro Químico</span><br style="font-weight:bold;font-style:italic;"><span style="font-weight:bold;font-style:italic;">Me. Engenharia Civil</span><br style="font-weight:bold;font-style:italic;"><span style="font-weight:bold;font-style:italic;">(085)87687786</span><br style="font-weight:bold;font-style:italic;"><span style="font-weight:bold;font-style:italic;">(085)33669042</span></div><div style="font-family: 'Courier New', courier,
monaco, monospace, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: italic;"><span style="font-weight:bold;font-style:italic;"><br></span></div><div style="background-color: transparent;"><span><div class="LivrotextoCxSpFirst" align="left" style="color: rgb(0, 0, 0); font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; font-style: italic; font-weight: bold; text-indent: 0cm;"><span lang="EN-US" style="font-size:10.0pt;line-height:150%;color:red;
mso-ansi-language:EN-US">library(qualityTools)<o:p></o:p></span></div>
<div class="LivrotextoCxSpMiddle" align="left" style="color: rgb(0, 0, 0); font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; font-style: italic; font-weight: bold; text-indent: 0cm;"><span lang="EN-US" style="font-size:10.0pt;line-height:150%;color:red;
mso-ansi-language:EN-US">exp1 = facDesign( k = 3 , centerCube = 0, replicates=3)<o:p></o:p></span></div>
<div class="LivrotextoCxSpMiddle" align="left" style="color: rgb(0, 0, 0); font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; font-style: italic; font-weight: bold; text-indent: 0cm;"><span style="font-size:10.0pt;line-height:150%;color:red">names ( exp1 ) =
c ( " Temperatura " , " Concentração" , "Pressão
" )<o:p></o:p></span></div>
<div class="LivrotextoCxSpMiddle" style="color: rgb(0, 0, 0); font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; font-style: italic; font-weight: bold; text-indent: 0cm;"><span style="font-size:
10.0pt;line-height:150%;color:red">units(exp1)=c("°C", "mg/L",
"mmHg")<o:p></o:p></span></div>
<div class="LivrotextoCxSpMiddle" align="left" style="color: rgb(0, 0, 0); font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; font-style: italic; font-weight: bold; text-indent: 0cm;"><span lang="EN-US" style="font-size:10.0pt;line-height:150%;color:red;
mso-ansi-language:EN-US">lows ( exp1 ) = c (60, 1,720) <o:p></o:p></span></div>
<div class="LivrotextoCxSpMiddle" align="left" style="color: rgb(0, 0, 0); font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; font-style: italic; font-weight: bold; text-indent: 0cm;"><span lang="EN-US" style="font-size:10.0pt;line-height:150%;color:red;
mso-ansi-language:EN-US">highs ( exp1 ) = c (80,2,760) <o:p></o:p></span></div>
<div class="LivrotextoCxSpMiddle" align="left" style="color: rgb(0, 0, 0); font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; font-style: italic; font-weight: bold; text-indent: 0cm;"><span lang="EN-US" style="font-size:10.0pt;line-height:150%;color:red;
mso-ansi-language:EN-US">summary( exp1 )<o:p></o:p></span></div>
<div class="LivrotextoCxSpMiddle" align="left" style="color: rgb(0, 0, 0); font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; font-style: italic; font-weight: bold; text-indent: 0cm;"><span lang="EN-US" style="font-size:10.0pt;line-height:150%;color:red;
mso-ansi-language:EN-US">y=c(1.60, 1.85, 1.40, 1.76, 1.70, 1.54, 0.37, 0.40,
0.46, 1.70, 1.80, 1.90, 0.30, 0.35,
1.74, 1.55, 1.80, 1.75, 1.50, 1.55, 0.60, 1.80, 0.55, 1.52)<o:p></o:p></span></div>
<div class="LivrotextoCxSpMiddle" align="left" style="color: rgb(0, 0, 0); font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; font-style: italic; font-weight: bold; text-indent: 0cm;"><span lang="EN-US" style="font-size:10.0pt;line-height:150%;color:red;
mso-ansi-language:EN-US">response(exp1)=data.frame(y)<o:p></o:p></span></div>
<div class="LivrotextoCxSpLast" align="left" style="color: rgb(0, 0, 0); font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 16px; font-style: italic; font-weight: bold; text-indent: 0cm;"><span lang="EN-US" style="font-size:10.0pt;line-height:150%;color:red;mso-ansi-language:
EN-US">summary( exp1 )<o:p></o:p></span></div><div class="LivrotextoCxSpLast" align="left" style="text-indent: 0cm; background-color: transparent;"><span lang="EN-US" style="line-height: 19px;"><font color="#ff0000" size="2"><b><i><div class="LivrotextoCxSpLast" align="left" style="text-indent: 0cm; background-color: transparent;"><br></div><div class="LivrotextoCxSpLast" align="left" style="text-indent: 0cm; background-color: transparent;">Erro em `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) : </div><div class="LivrotextoCxSpLast" align="left" style="text-indent: 0cm; background-color: transparent;"> contrasts can be applied only to factors with 2 or more levels</div></i></b></font></span></div></span></div></div></body></html>