<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Olá!</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Criei alguns dados para rodar o script. Veja se é algo semelhante a isso que busca:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><br>
</div>
<div><br>
</div>
<div>data<-read.table(header = T,dec=",",text = "</div>
<div>col1<span style="white-space:pre"> </span>col2<span style="white-space:pre">
</span>col3</div>
<div>1,284877804<span style="white-space:pre"> </span>1,277701121<span style="white-space:pre">
</span>0,59309434</div>
<div>-0,558038947<span style="white-space:pre"> </span>-0,539990734<span style="white-space:pre">
</span>-0,302552794</div>
<div>-0,159938135<span style="white-space:pre"> </span>0,491608754<span style="white-space:pre">
</span>-0,019733664</div>
<div>0,106479765<span style="white-space:pre"> </span>0,148207508<span style="white-space:pre">
</span>0,054369581</div>
<div>0,248687129<span style="white-space:pre"> </span>0,346315284<span style="white-space:pre">
</span>-0,047031333</div>
<div>-0,05638467<span style="white-space:pre"> </span>-0,268519532<span style="white-space:pre">
</span>-0,371220113</div>
<div>-0,229098196<span style="white-space:pre"> </span>-0,193594589<span style="white-space:pre">
</span>-0,296836288</div>
<div>-0,208658993<span style="white-space:pre"> </span>-0,266912666<span style="white-space:pre">
</span>0,064926963</div>
<div>0,023574933<span style="white-space:pre"> </span>-0,22821229<span style="white-space:pre">
</span>0,020265667</div>
<div>0,737898029<span style="white-space:pre"> </span>0,253372529<span style="white-space:pre">
</span>-0,259536985</div>
<div>-0,671700227<span style="white-space:pre"> </span>-0,460472824<span style="white-space:pre">
</span>-0,268813022</div>
<div>-0,260393316<span style="white-space:pre"> </span>-0,143230038<span style="white-space:pre">
</span>-0,172896378</div>
<div>-0,186290072<span style="white-space:pre"> </span>-0,029481653<span style="white-space:pre">
</span>-0,117901747</div>
<div>-0,416178766<span style="white-space:pre"> </span>1,559150545<span style="white-space:pre">
</span>1,131519325</div>
<div>0,321608037<span style="white-space:pre"> </span>0,006378804<span style="white-space:pre">
</span>0,209730652</div>
<div>0,296866402<span style="white-space:pre"> </span>0,17356696<span style="white-space:pre">
</span>0,293557136</div>
<div>-0,016712745<span style="white-space:pre"> </span>-0,244262684<span style="white-space:pre">
</span>-0,500196637</div>
<div>-0,783872099<span style="white-space:pre"> </span>-0,829620256<span style="white-space:pre">
</span>-0,509472674</div>
<div>-0,629540748<span style="white-space:pre"> </span>-0,512377471<span style="white-space:pre">
</span>-0,799019371</div>
<div>-0,555437504<span style="white-space:pre"> </span>-0,398629085<span style="white-space:pre">
</span>-0,61553696</div>
<div>-1,170789539<span style="white-space:pre"> </span>0,940204234<span style="white-space:pre">
</span>0,54756421</div>
<div>-0,210100515<span style="white-space:pre"> </span>-0,388761396<span style="white-space:pre">
</span>-0,370713182</div>
<div>-0,392692251<span style="white-space:pre"> </span>-0,376123924<span style="white-space:pre">
</span>0,275422965</div>
<div>-0,287904562<span style="white-space:pre"> </span>-0,109706024<span style="white-space:pre">
</span>-0,324953842</div>
<div>-0,461053637<span style="white-space:pre"> </span>-0,352962002<span style="white-space:pre">
</span>-0,383821627</div>
<div>0,030070393<span style="white-space:pre"> </span>0,112892882<span style="white-space:pre">
</span>0,15773358</div>
<div>0,277769917<span style="white-space:pre"> </span>0,197154917<span style="white-space:pre">
</span>0,489634085</div>
<div>0,245198781<span style="white-space:pre"> </span>0,474569681<span style="white-space:pre">
</span>0,544803788</div>
<div>0,171705631<span style="white-space:pre"> </span>0,578315826<span style="white-space:pre">
</span>0,326528603</div>
<div>0,007761118<span style="white-space:pre"> </span>0,16567452<span style="white-space:pre">
</span>-0,090259433</div>
<div>-0,245447114<span style="white-space:pre"> </span>0,35124363<span style="white-space:pre">
</span>0,671391213</div>
<div>0,551323138<span style="white-space:pre"> </span>0,796974196<span style="white-space:pre">
</span>0,510332296</div>
<div>0,625426382<span style="white-space:pre"> </span>0,782234801<span style="white-space:pre">
</span>0,565326927</div>
<div>0,395537688<span style="white-space:pre"> </span>0,836190317<span style="white-space:pre">
</span>0,186574732</div>
<div>-0,442602213<span style="white-space:pre"> </span>-0,235799752<span style="white-space:pre">
</span>-0,346239319</div>
<div>0,659683855<span style="white-space:pre"> </span>0,547764402<span style="white-space:pre">
</span>0,81384795</div>
<div>")</div>
<div>data</div>
<div><br>
</div>
<div>boxplot(data[,1],data[,2],data[,3],ylab="y",las=1,names = c("ex.data1","ex.data2","ex.data3"))</div>
<br>
<p></p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> R-br <r-br-bounces@listas.c3sl.ufpr.br> em nome de Marcele de Jesus Correa via R-br <r-br@listas.c3sl.ufpr.br><br>
<b>Enviado:</b> segunda-feira, 7 de maio de 2018 16:12<br>
<b>Para:</b> a lista Brasileira oficial de discussão do programa R.<br>
<b>Assunto:</b> [R-br] Boxplot em grupo</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<div>
<div dir="ltr">
<div class="x_gmail_default" style="font-family:"times new roman",serif; font-size:large; color:rgb(102,102,102)">
Olá, boa tarde!</div>
<div class="x_gmail_default" style="font-family:"times new roman",serif; font-size:large; color:rgb(102,102,102)">
<br>
</div>
<div class="x_gmail_default" style="font-family:"times new roman",serif; font-size:large; color:rgb(102,102,102)">
Sou iniciante no R e preciso de muita ajuda. Tenho recorrido aos tutoriais, livros, algumas dúvidas que são postadas aqui e vídeos no youtube, que tem me ajudado bastante, porém, estou com dificuldade para fazer um gráfico boxplot envolvendo três variáveis
 juntas. Assim:</div>
<div class="x_gmail_default" style="font-family:"times new roman",serif; font-size:large; color:rgb(102,102,102)">
Estou trabalhando com série temporal de três estações meteorológicas, num total de 27 variáveis, entre estas, estou analisando no momento 3 (precipitação, temperatura mínima e máxima) de cada estação. Para cada uma dessas variáveis e suas respectivas estações,
 elaborei um gráfico boxplot,  conforme comando abaixo: </div>
<div class="x_gmail_default" style="font-family:"times new roman",serif; font-size:large; color:rgb(102,102,102)">
<br>
</div>
<div class="x_gmail_default" style="font-family:"times new roman",serif; font-size:large; color:rgb(102,102,102)">
boxplot(TempMin_Jagua ~ Mes, las=1, data = data_estacoes, col = "gray", notch = FALSE, ylab="Temperatura", xlab= "Mês", main= "Média Mensal da Temperatura Mínima da Estação de Jaguaruana"). </div>
<div class="x_gmail_default" style="font-family:"times new roman",serif; font-size:large; color:rgb(102,102,102)">
<br>
</div>
<div class="x_gmail_default" style="font-family:"times new roman",serif; font-size:large; color:rgb(102,102,102)">
Entretanto, gostaria de inserir num único gráfico a variável temperatura mínima das três estações, a fim de comparar numa mesma escala o "comportamento" dessa variável por estação, e não estou conseguindo. Li algo parecido aqui no grupo, em que foi utilizado
 o pacote ggplot2, tentei usar sem sucesso. Fiz-me entender? Espero que sim, porque esse negócio é bem complicado... mas estou gostando. </div>
<div class="x_gmail_default" style="font-family:"times new roman",serif; font-size:large; color:rgb(102,102,102)">
<br>
</div>
<div class="x_gmail_default" style="font-family:"times new roman",serif; font-size:large; color:rgb(102,102,102)">
Desde já agradeço.</div>
<div class="x_gmail_default" style="font-family:"times new roman",serif; font-size:large; color:rgb(102,102,102)">
<br>
</div>
<div class="x_gmail_default" style="font-family:"times new roman",serif; font-size:large; color:rgb(102,102,102)">
Cordialmente,</div>
<div>
<div class="x_gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div style="text-align:center"><font size="2" color="#cc0000"><b></b></font></div>
<div style="text-align:left"><font size="2"><br>
</font></div>
<div style="text-align:left">
<div style="font-size:12.8px"><font face="times new roman, serif">
<div style="font-size:large; color:rgb(102,102,102); display:inline"></div>
Marcele Correa.</font></div>
<div style="font-size:12.8px"><font face="times new roman, serif">Geographer</font></div>
<div style="font-size:12.8px"><font face="times new roman, serif">Master Student in Climate Sciences</font></div>
<div style="font-size:12.8px"><font color="#000000"><font face="times new roman, serif">
<div style="display:inline"></div>
</font><font face="times new roman, serif">Research Line - Bioclimatology and 
<div style="display:inline">C</div>
limatic 
<div style="display:inline">C</div>
hanges</font></font></div>
<div style="font-size:12.8px"><font color="#000000"><font face="times new roman, serif">Advisor - Kellen Carla Lima</font></font></div>
<div style="font-size:12.8px"><span style="font-family:"times new roman",serif">Federal University of Rio Grande do Norte - UFRN / Brazil.</span></div>
</div>
</div>
<div>
<div style="text-align:center"><b><br>
</b></div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>