Olá pessoal boa tarde, estou com o seguinte problema. estou fazendo um gráfico 
no ggplot dessa forma:


c <- ggplot(data2.masc.3raca, aes(y=Pasajuste.masc, x=IDADEA, 
linetype=factor(Cor2)))

p6<-c + stat_smooth(se = FALSE,method="loess",span=0.75,color="Black")+ 
xlab("years")+ylab("Systolic blood pressure 
(mmHg)")+scale_colour_hue(name="Ethnicity")+xlim(35,74)+ylim(105,130)+labs(title
 = "Male")



Na legenda sempre sai o factor(Cor2) e quero que saia Ethnicity
_______________________________________________
R-br mailing list
[email protected]
https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código 
mínimo reproduzível.

Responder a