<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div class="" style=""><span class="" style="">Pessoal me socorre por favor,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><span class="" style="">veja meu código que originou no erro esta abaixo. Alguém saberia dizer o motivo deste erro? Sempre usei para estratificar médias por tratamento e nunca me deparei com este erro. </span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"
 class=""><span class="" style=""><br class="" style=""></span></div><div style="background-color: transparent;" class="">dados=data.frame(peso,glicose)</div><div style="background-color: transparent;" class=""><span class="" style=""></span></div><div style="background-color: transparent;" class="">dados</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><span class="" style=""></span></div><pre tabindex="0" class="" id="rstudio_console_output" style="font-family: 'Ubuntu Mono'; font-size: 10.4pt !important; outline-style: none; outline-width: initial; outline-color: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; white-space: pre-wrap !important; word-break:
 break-all; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; -webkit-user-select: text; line-height: 1.2; "><span class="" style="color: blue; ">str(dados)
</span>'data.frame':      35 obs. of  2 variables:
 $ peso   : Factor w/ 4 levels "Abaixodopeso",..: 1 4 2 2 3 2 4 1 1 2 ...
 $ glicose: num  60 62 130 120 219 80 85 82 90 105 ...</pre><pre tabindex="0" class="" id="rstudio_console_output" style="font-family: 'Ubuntu Mono'; font-size: 10.4pt !important; outline-style: none; outline-width: initial; outline-color: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; white-space: pre-wrap !important; word-break: break-all; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; -webkit-user-select: text; line-height: 1.2; "><br class="" style=""></pre><div style="background-color: transparent;" class="">require(doBy)</div><div style="background-color: transparent;" class=""><span class="" style=""></span></div><div style="background-color: transparent;" class="">summaryBy(glicose~peso,data=dados,FUN=c(mean,sd))</div><div class="" style=""></div><div class="" style=""> </div><div class="" style="">
<span class="" style="border-collapse: separate; font-family: 'Ubuntu Mono'; font-size: 14px; line-height: 16px; white-space: pre-wrap; border-spacing: 0px; background-color: rgb(225, 226, 229);"><pre tabindex="0" class="" id="rstudio_console_output" style="font-family: 'Ubuntu Mono'; outline: none; border: none; word-break: break-all; margin-top: 0px; margin-bottom: 0px; -webkit-user-select: text; line-height: 1.2; font-size: 10.4pt !important;"><span class="" style="color: rgb(197, 6, 11); ">Erro em FUN(X[[1L]], ...) : 
não foi possível encontrar a função "currFUN"</span></pre><pre tabindex="0" class="" id="rstudio_console_output" style="font-family: 'Ubuntu Mono'; outline: none; border: none; word-break: break-all; margin-top: 0px; margin-bottom: 0px; -webkit-user-select: text; line-height: 1.2; font-size: 10.4pt !important;"><span class="" style="color: rgb(197, 6, 11); "><br></span></pre><pre tabindex="0" class="" id="rstudio_console_output" style="font-family: 'Ubuntu Mono'; outline: none; border: none; word-break: break-all; margin-top: 0px; margin-bottom: 0px; -webkit-user-select: text; line-height: 1.2; font-size: 10.4pt !important;"><span class="" style="color: rgb(197, 6, 11); "><br></span></pre></span>
<br class="" style="">André Oliveira Souza. 
<br class="" style="">Graduação em Matemática, mestrado em estatística aplicada.Instituto Federal de Educação, Ciência e Tecnologia do Espirito Santo.  IFES
<br class="" style="">
<br class="" style=""></div></div></body></html>