<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div class="" style=""><span class="" style="">Olá Rodrigo,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, '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="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><span class="" style="">muito obrigada pelo retorno. Eu tentei ja usar o print do xtable, mas acredito que estou com dificuldade em entender a funçao. Não recebo a tabela quando dou o comando, meu output é:</span></div><div style="color: rgb(0, 0, 0); font-size:
 16px; font-family: HelveticaNeue, '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="">> print(xtable(table(groups_fit,groups_mbi)))</div><div style="background-color: transparent;" class="">% latex table generated in R 3.0.3 by xtable 1.7-3 package</div><div style="background-color: transparent;" class="">% Thu Jun 05 16:33:46 2014</div><div style="background-color: transparent;" class="">\begin{table}[ht]</div><div style="background-color: transparent;" class="">\centering</div><div style="background-color: transparent;" class="">\begin{tabular}{rrrrrr}</div><div style="background-color: transparent;" class="">  \hline</div><div style="background-color: transparent;" class=""> & [ 9.0,19.0) & [19.0,26.4) & [26.4,31.9) & [31.9,38.0) &
 [38.0,53.0] \\ </div><div style="background-color: transparent;" class="">  \hline</div><div style="background-color: transparent;" class="">[25.1,35.0) &  31 &  15 &   1 &   0 &   0 \\ </div><div style="background-color: transparent;" class="">  [35.0,46.0) &  50 &  51 &  28 &   4 &   0 \\ </div><div style="background-color: transparent;" class="">  [46.0,55.5) &  11 &  34 &  35 &  33 &  11 \\ </div><div style="background-color: transparent;" class="">  [55.5,68.0) &   2 &   6 &  27 &  39 &  28 \\ </div><div style="background-color: transparent;" class="">  [68.0,96.1] &   0 &   0 &   2 &   9 &  50 \\ </div><div style="background-color: transparent;" class=""> 
  \hline</div><div style="background-color: transparent;" class="">\end{tabular}</div><div style="background-color: transparent;" class=""><span class="" style=""></span></div><div style="background-color: transparent;" class="">\end{table}</div><div class="" style=""></div><div class="" style=""> </div><div class="" style="">Não entendi ainda se a tabela é salva em algum lugar e tenho que exportá-la, achei que receberia o output direto no R.</div><div class="" style=""><br></div><div class="" style=""><span style="font-size:16px;" class="">-- <br class="" style=""><font size="2" class="" style="">Daniela Rodrigues Recchia</font></span></div><div class="" style=""><span style="font-size:16px;" class=""><font size="2" class="" style="">M.Sc. in Statistics</font><br class="" style=""><var id="yui-ie-cursor" class="" style=""></var></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:arial, helvetica, clean,
 sans-serif;background-color:transparent;font-style:italic;" class=""><span style="font-size:16px;" class=""><font size="2" class="" style=""><br class="" style=""></font></span></div><div style="color:rgb(0, 0, 0);font-family:arial, helvetica, clean, sans-serif;font-style:normal;background-color:transparent;" class=""><span style="font-size:13px;" class="">Tel. (Mobil): +49 01578 7588382</span></div><div class="" style=""><span style="font-size:16px;" class=""><font size="2" class="" style="">Germany</font></span></div><div style="color:rgb(0, 0, 0);font-size:13px;font-family:arial, helvetica, clean, sans-serif;background-color:transparent;font-style:normal;" class=""><span style="font-size:16px;" class=""><font size="2" class="" style=""><br class="" style=""></font></span></div><div class="" style=""><span style="font-size:10px;" class=""></span></div><div class="" style=""><span style="font-size:10px;" class=""><span
 style="line-height:18px;font-family:'helvetica neue', arial, sans-serif;font-style:italic;" class=""><font size="2" class="" style="">“The standard of success in life is absolutely the amount of joy you feel”</font></span><br class="" style=""></span><span style="font-size:13px;" class=""><span style="font-size:10px;" class=""><span style="line-height:18px;font-family:'helvetica neue', arial, sans-serif;font-style:italic;" class=""><font size="2" class="" style="">Esther & Jerry Hick</font></span></span><br class="" style=""></span></div><div class="" style=""><span style="font-size:small;" class=""> </span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size:
 12pt;" class=""> <div dir="ltr" class="" style=""> <font size="2" face="Arial" class="" style=""> Em Quinta-feira, 5 de Junho de 2014 15:14, Rodrigo Coster <rcoster@gmail.com> escreveu:<br class="" style=""> </font> </div>  <br class="" style=""><br class="" style=""> <div class="" style=""><div id="yiv2391416026" class="" style=""><div class="" style=""><div dir="ltr" class="" style="">A função xtable() do pacote xtable deve funcionar para o teu caso. Da para informar onde tu quer as linhas horizontais com o parâmetro hline.after (dai precisa usar print(xtable(table(groups_fit,groups_mbi)), hline.after = <b class="" style="">vetor</b>)<br clear="none" class="" style="">
</div><div class="" style=""><br clear="none" class="" style=""><br clear="none" class="" style=""><div class="" style="">2014-06-05 10:08 GMT-03:00 Daniela Recchia <span dir="ltr" class="" style=""><<a rel="nofollow" shape="rect" ymailto="mailto:daniela_recchia@yahoo.com.br" target="_blank" href="mailto:daniela_recchia@yahoo.com.br" class="" style="">daniela_recchia@yahoo.com.br</a>></span>:<br clear="none" class="" style="">
<blockquote class="" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="" id="yiv2391416026yqt90538" style=""><div class="" style=""><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;" class="">
<div class="" style=""><span class="" style="">Olá pessoal,</span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-style:normal;background-color:transparent;" class="">
<span class="" style=""><br clear="none" class="" style=""></span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-style:normal;background-color:transparent;" class=""><span class="" style="">pesquisei algumas funções para obter tabelas "mais bonitas" (como uma do excel, com linhas e tudo mais) porém só encontrei exemplos - vários - para casos de tabelas mais complexas. Tentei o paxote xtables e também o Hmisc mas não
 obtenho ainda o output que quero, poderia ser em pdf, html ou o que fosse - mas não dá certo pois tenho apenas uma tabela de frequencias e não um modelo. </span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-style:normal;background-color:transparent;" class="">
<span class="" style=""><br clear="none" class="" style=""></span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-style:normal;background-color:transparent;" class=""><span class="" style="">Por exemplo quero ter um output bonito para essa tabela:</span></div>
<div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-style:normal;background-color:transparent;" class=""><span class="" style=""><br clear="none" class="" style=""></span></div><div style="background-color:transparent;" class="">
> table(groups_fit,groups_mbi)</div><div style="background-color:transparent;" class="">             groups_mbi</div><div style="background-color:transparent;" class="">groups_fit    [ 9.0,19.0) [19.0,26.4) [26.4,31.9) [31.9,38.0)</div><div style="background-color:transparent;" class="">
  [25.1,35.0)          31          15           1           0</div><div style="background-color:transparent;" class="">  [35.0,46.0)          50          51          28           4</div><div style="background-color:transparent;" class="">  [46.0,55.5)          11          34
          35          33</div><div style="background-color:transparent;" class="">  [55.5,68.0)           2           6          27          39</div><div style="background-color:transparent;" class="">  [68.0,96.1]           0           0           2           9</div>
<div style="background-color:transparent;" class="">             groups_mbi</div><div style="background-color:transparent;" class="">groups_fit    [38.0,53.0]</div><div style="background-color:transparent;" class="">  [25.1,35.0)           0</div><div style="background-color:transparent;" class="">
  [35.0,46.0)          
 0</div><div style="background-color:transparent;" class="">  [46.0,55.5)          11</div><div style="background-color:transparent;" class="">  [55.5,68.0)          28</div><div style="background-color:transparent;" class=""><span class="" style=""></span></div><div style="background-color:transparent;" class="">
  [68.0,96.1]          50</div><div style="background-color:transparent;" class=""><br clear="none" class="" style=""></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-style:normal;background-color:transparent;" class="">
tentei com o latex(tabular) mas ainda nao da certo, continua no  mesmo formato. Alguém teria uma sugestão?</div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-style:normal;background-color:transparent;" class="">
<br clear="none" class="" style=""></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-style:normal;background-color:transparent;" class="">Obrigada!</div><span class="" style=""><font color="#888888" class="" style=""></font></span><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-style:normal;background-color:transparent;" class="">
<br clear="none" class="" style=""></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-style:normal;background-color:transparent;" class="">Daniela</div><div class="" style="">
</div><div class="" style=""> </div><div class="" style=""><span style="font-size:16px;" class="">-- <br clear="none" class="" style=""><font class="" style="">Daniela Rodrigues Recchia</font></span></div><div class="" style=""><span style="font-size:16px;" class=""><font class="" style="">M.Sc. in Statistics</font><br clear="none" class="" style=""><var class="" style=""></var></span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:arial, helvetica, clean, sans-serif;background-color:transparent;font-style:italic;" class="">
<span style="font-size:16px;" class=""><font class="" style=""><br clear="none" class="" style=""></font></span></div><div style="color:rgb(0,0,0);font-family:arial, helvetica, clean, sans-serif;font-style:normal;background-color:transparent;" class=""><span style="font-size:13px;" class="">Tel. (Mobil): +49 01578 7588382</span></div>
<div class="" style=""><span style="font-size:16px;" class=""><font class="" style="">Germany</font></span></div><div style="color:rgb(0,0,0);font-size:13px;font-family:arial, helvetica, clean, sans-serif;background-color:transparent;font-style:normal;" class=""><span style="font-size:16px;" class=""><font class="" style=""><br clear="none" class="" style="">
</font></span></div><div class="" style=""><span style="font-size:10px;" class=""></span></div><div class="" style=""><span style="font-size:10px;" class=""><span style="line-height:18px;font-family:'helvetica neue', arial, sans-serif;font-style:italic;" class=""><font class="" style="">“The standard of success in life is absolutely the amount of joy you feel”</font></span><br clear="none" class="" style="">
</span><span style="font-size:13px;" class=""><span style="font-size:10px;" class=""><span style="line-height:18px;font-family:'helvetica neue', arial, sans-serif;font-style:italic;" class=""><font class="" style="">Esther & Jerry Hick</font></span></span><br clear="none" class="" style="">
</span></div><div class="" style=""><span style="font-size:small;" class=""> </span></div></div></div></div><br clear="none" class="" style="">_______________________________________________<br clear="none" class="" style="">
R-br mailing list<br clear="none" class="" style="">
<a rel="nofollow" shape="rect" ymailto="mailto:R-br@listas.c3sl.ufpr.br" target="_blank" href="mailto:R-br@listas.c3sl.ufpr.br" class="" style="">R-br@listas.c3sl.ufpr.br</a><br clear="none" class="" style="">
<a rel="nofollow" shape="rect" target="_blank" href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" class="" style="">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br clear="none" class="" style="">
Leia o guia de postagem (<a rel="nofollow" shape="rect" target="_blank" href="http://www.leg.ufpr.br/r-br-guia" class="" style="">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br clear="none" class="" style=""></blockquote></div><br clear="none" class="" style=""></div></div></div><br class="" style=""><br class="" style=""></div>  </div> </div>  </div> </div></body></html>